OrFilter

class cocohelper.filters.filter.OrFilter[source]

Bases: ComposeFilter

Composite filters with an ‘or’ behaviour.

Generic interface for filter composition.

Parameters:

*filters – The filters to combine.

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>