data_table#
Interactive DataFrame display on IPython using itables.
Functions
|
|
Interactive DataFrame display on IPython using |
- get_ITable_widget(data: DataFrame, table_name: str = None, search_columns_per_row: int = 4, max_bytes: str = '64KB')#
ipywidgets-compatibleitablesDataFrame display on IPython.- Parameters:
data (pandas.DataFrame) – The Pandas DataFrame to be displayed.
table_name (str, optional) – An optional title to display above the table. If provided, the title is also used as an HTML id for CSS.
search_columns_per_row (int, default 4) – Determines the grid layout of the SearchPanes (filter boxes).
max_bytes (str, default "64KB") – The maximum data size threshold for
itablesto render. If data size is larger thanmax_bytes, it will be downsampled. To remove the size threshold, setmax_bytesto0. Note that this may cause a performance issue if data is large.
Notes
On the first call, this function performs a global initialization:
Injects customized layout CSS.
Initializes
itablesnotebook mode withconnected=True.
The resulting dataframe display includes:
Pagination: Display data in pages of maximum 10 records.
Filters: High-level filters for attributes values.
Column Controls: Individual dropdown searches per column.
- show(data: DataFrame, table_name: str = None, search_columns_per_row: int = 4, max_bytes: str = '64KB')#
Interactive DataFrame display on IPython using
itables.- Parameters:
data (pandas.DataFrame) – The Pandas DataFrame to be displayed.
table_name (str, optional) – An optional title to display above the table. If provided, the title is also used as an HTML id for CSS.
search_columns_per_row (int, default 4) – Determines the grid layout of the SearchPanes (filter boxes).
max_bytes (str, default "64KB") – The maximum data size threshold for
itablesto render. If data size is larger thanmax_bytes, it will be downsampled. To remove the size threshold, setmax_bytesto0. Note that this may cause a performance issue if data is large.
Notes
On the first call, this function performs a global initialization:
Injects customized layout CSS.
Initializes
itablesnotebook mode withconnected=True.
The resulting dataframe display includes:
Pagination: Display data in pages of maximum 10 records.
Filters: High-level filters for attributes values.
Column Controls: Individual dropdown searches per column.