Login
Back to bricks list
Introduction Version

DataframeDataFilterHelper

Helper to filter dataframe rows or columns base on dataframe values

Functions

FILTER_COLUMNS_BY_AGGREGATED_VALUES - @classmethod

Filter the dataframe columns based on value of the provided rows with numeric comparator

Parameters:
NameTypeDefault valueDescription
dataDataFrame
funcLiteral
compLiteral
valuefloat
Return type:
DataFrame
FILTER_COLUMNS_NUMERIC - @classmethod

Filter the dataframe columns based on value of the provided rows with numeric comparator

Parameters:
NameTypeDefault valueDescription
dataDataFrame
row_name_regexstr
compLiteral
valuefloat
Return type:
DataFrame
FILTER_COLUMNS_TEXT - @classmethod

Filter the dataframe columns based on value of the provided rows with text comparator

Parameters:
NameTypeDefault valueDescription
dataDataFrame
row_name_regexstr
compLiteral
valuestr
Return type:
DataFrame
FILTER_ROWS_BY_AGGREGATED_VALUES - @classmethod
Parameters:
NameTypeDefault valueDescription
dataDataFrame
funcLiteral
compLiteral
valuefloat
Return type:
DataFrame
FILTER_ROWS_NUMERIC - @classmethod

Filter the dataframe rows based on value of the provided columns with numeric comparator

Parameters:
NameTypeDefault valueDescription
dataDataFrame
column_name_regexstr
compLiteral
valuefloat
Return type:
DataFrame
FILTER_ROWS_TEXT - @classmethod

Filter the dataframe rows based on value of the provided columns with text comparator

Parameters:
NameTypeDefault valueDescription
dataDataFrame
column_name_regexstr
compLiteral
valuestr
Return type:
DataFrame