DataFrame-friendly jQuery Plugins for Jupyter Notebook:
To install subframe:
$ git clone --recursive [email protected]:joshbode/subframe.git $ cd subframe $ pip install .
To install subframe in development (editable) mode:
$ pip install -e .
In [1]: from subframe import DataTable, PivotTable
import subframe
subframe.plugins.enable()
In [2]: import pandas
d = pandas.DataFrame({
'x': [1, 1, 1, 2, 3],
'a': [1, 2, 2, 1, 3],
'b': [23.534, 234.4, 27654.43, 2534.6, 342]
})
In [3]: DataTable(d)
Out[3]: ...
In [4]: PivotTable(d)
Out[4]: ...