damast.data_handling.transformers.filters

damast.data_handling.transformers.filters#

Module which collect all filters that filter the existing data.

Module Attributes

OPERATORS

Supported comparisons - the first seven are spelled as in 'damast inspect --filter'

MEMBERSHIP_OPERATORS

Operators that compare against a collection of values rather than a single one

EQUALITY_OPERATORS

Operators that are meaningful for a boolean value

Classes

DropMissingOrNan()

Drop rows that do not have a defined value or NaN for a given column.

Filter(operator, value)

Filter rows and keep those satisfying a comparison against a fixed value.

FilterWithin(within_values)

Filter rows and keep those within given values.

RemoveValueRows(remove_value)

Remove rows that have the given value for a given column.