Skip to main content

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

NameDescriptionTypeDefault
df (required)The pandas DataFrame to display.pd.DataFrameNone
labelText label displayed above the table.strNone
keyIdentifier for the widget.strNone
actionsList of action configurations.List[dict]None
full_widthWhether the table should take up the full width of its container.boolFalse
display_indexWhether to display row indices.boolTrue
filterableWhether the table is filterable.boolTrue
page_sizeNumber of rows to display per page.int10
pagination_always_visibleWhether pagination controls are always visible.boolTrue