CrossFilterSlider
A Slider widget that will cross filter a DataFrame.
@solara.component
def CrossFilterSlider(
df,
column: str,
invert=False,
enable: bool = True,
mode: str = "==",
configurable=True,
):
...
See use_cross_filter for more information about how to use cross filtering.
Arguments
df
: The DataFrame to filter.column
: The column to filter on.invert
: If True, the filter will be inverted.enable
: If False, the filter will be disabled.mode
: The mode to use for filtering. Can be one of==
,>=
,<=
,>
,<
.configurable
: Whether to show a configuration button.
Example