PandasOutput
Pandas DataFrame output widget for displaying tabular data.
Signature
def PandasOutput(
df: pd.DataFrame,
label: str = None,
key: str = None,
actions: List[dict] = None,
full_width: bool = False,
display_index: bool = True,
filterable: bool = True,
page_size: int = 10,
pagination_always_visible: bool = True
)
Parameters
Name | Description | Type | Default |
---|---|---|---|
df (required) | The pandas DataFrame to display. | pd.DataFrame | None |
label | Text label displayed above the table. | str | None |
key | Identifier for the widget. | str | None |
actions | List of action configurations. | List[dict] | None |
full_width | Whether the table should take up the full width of its container. | bool | False |
display_index | Whether to display row indices. | bool | True |
filterable | Whether the table is filterable. | bool | True |
page_size | Number of rows to display per page. | int | 10 |
pagination_always_visible | Whether pagination controls are always visible. | bool | True |