neuralset.events.transforms.basic.RemoveMissing

pydantic model neuralset.events.transforms.basic.RemoveMissing[source][source]

Remove events of specified type(s) that have missing or empty values in a given field.

By default, this transform removes Word-type events that do not have any context, but it can be configured to remove other event types or check different fields.

Parameters:
  • event_types (str or sequence of str, default="Word") – Type(s) of events to check for missing values.

  • field (str, default="context") – Column name in the events DataFrame to check for missing or empty values.

Fields:
field event_types: str | Sequence[str] = 'Word'[source]
field field: str = 'context'[source]
requirements: tp.ClassVar[tuple[str, ...]] = ()[source]