streamsight.preprocessing.Filter

class streamsight.preprocessing.Filter

Bases: ABC

Abstract baseclass for filter implementations

A filter needs to implement an apply method, which takes as input a pandas DataFrame, and returns a processed pandas DataFrame.

__init__()

Methods

__init__()

apply(df)

Apply Filter to the DataFrame passed.

_abc_impl = <_abc._abc_data object>
abstract apply(df: DataFrame) DataFrame

Apply Filter to the DataFrame passed.

Parameters:

df (pd.DataFrame) – DataFrame to filter