HavingValueFilterStrategy

class cocohelper.filters.strategies.strategies.HavingValueFilterStrategy[source]

Bases: ValueFilterStrategy

ValueStrategy for filtering, keeping all the rows with one of the imposed values on the selected column.

Method List

apply(values, column, df)

Attributes List

_abc_impl

Methods Details

apply(values, column, df)[source]
Parameters:
  • column (str) –

  • df (DataFrame) –

Return type:

DataFrame

Attribute Details

_abc_impl = <_abc._abc_data object>