An ipywidgets wrapper around regular-table for Jupyter.
For interactive or streaming sorting, pivoting, and aggregation, see
Perspective, which also uses
regular-table.
pip install ipyregulartableconda install -c conda-forge ipyregulartableFor Jupyter Notebook 5.2 or earlier, enable the classic notebook extension:
jupyter nbextension enable --py --sys-prefix ipyregulartableCustom data models implement the abstract methods on the base DataModel
class:
class DataModel(with_metaclass(ABCMeta)):
@abstractmethod
def editable(self, x, y):
"""Return whether the cell at (x, y) is editable."""
@abstractmethod
def rows(self):
"""Return the total number of rows."""
@abstractmethod
def columns(self):
"""Return the total number of columns."""
@abstractmethod
def dataslice(self, x0, y0, x1, y1):
"""Return a data slice, inclusive of both coordinate pairs."""Any DataModel object can be passed to RegularTableWidget.
regular-table may make probing calls with (0, 0, 0, 0) to assess data
limits.
Licensed under the Apache License 2.0. See LICENSE, NOTICE, and AUTHORS.
Note
This library was generated using Copier from the Base Python Project Template.









