NotFilter

class cocohelper.filters.filter.NotFilter[source]

Bases: Filter

Negate a filter.

Negate a given filter to obtain the opposite behavior.

Parameters:

fltr – Filter to be negated

Method List

apply(df)

Applies the filter to the given DataFrame.

Attributes List

_abc_impl

Methods Details

apply(df)[source]

Applies the filter to the given DataFrame.

Parameters:

df (DataFrame) – DataFrame to filter.

Returns:

The filtered DataFrame.

Return type:

DataFrame

Attribute Details

_abc_impl = <_abc._abc_data object>