ITableDF#
- class ITableDF(*args, **kwargs)#
Bases:
DataFrameA custom pandas.DataFrame class that integrates UI from itables.
This class inherits from pandas.DataFrame and overrides its HTML representation to itables’s.
- Parameters:
*args (tuple) – Positional arguments for the parent pandas.DataFrame.
**kwargs (dict) – Keyword arguments for the parent pandas.DataFrame. Can optionally include a table_name key (str).
- Variables:
table_name (str or None) – The name assigned to the table, if provided during initialization.
Methods
Override pandas.DataFrame's HTML representation with itables's.
Display the entirety of the table.
- _repr_html_()#
Override pandas.DataFrame’s HTML representation with itables’s.
- Returns:
str – A hidden HTML italic tag <i hidden></i>.
- show_whole_table()#
Display the entirety of the table.
Ensure that data is not downsampled when displaying. Note that this may cause a performance issue if data is large.