Filter

class cocohelper.filters.filter.Filter[source]

Bases: ABC

Generic interface of a filter.

Method List

apply(df)

A method for applying a filter to the given DataFrame.

Attributes List

_abc_impl

Methods Details

abstract apply(df)[source]

A method for applying a 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>