CrossFilterSelect
A Select widget that will cross filter a DataFrame.
@solara.component
def CrossFilterSelect(
df,
column: str,
max_unique: int = 100,
multiple: bool = False,
invert=False,
configurable=True,
classes: List[str] = [],
):
...
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.max_unique
: The maximum number of unique values to show in the dropdown.multiple
: Whether to allow multiple values to be selected.invert
: Whether to invert the selection.configurable
: Whether to show the configuration button.classes
: Additional CSS classes to add to the main widget.
Example