subframe

Jupyter-Pandas DataFrame integration and visualisation


Keywords
ipython, notebook, dataframe
License
MIT
Install
pip install subframe==0.0.1

Documentation

SubFrame

DataFrame-friendly jQuery Plugins for Jupyter Notebook:

Installation

To install subframe:

$ git clone --recursive git@github.com:joshbode/subframe.git
$ cd subframe
$ pip install .

To install subframe in development (editable) mode:

$ pip install -e .

Usage

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]: ...