filter_df
filter_df(
df: DataFrame ,
ignore_bad_kwargs = False,
**kwargs ,
)-> ‘np.ndarray’
Determine if each row of the index meets some filter requirements.
Parameters
Parameter | Description |
---|---|
df | The input dataframe. |
ignore_bad_kwargs | If True, silently drop incompatible kwargs with dataframe. |
kwargs | Used to filter columns. |
Any condition to check against columns of df. Can be a single value or a collection of values (to check isin on columns). Str arguments can also use unix style matching. Additionally, queries of the form {column_name}_min or {column_name}_max can be used, provided columns with the same name don’t already exist. |
Returns
A boolean array of the same len as df indicating if each row meets the requirements.