skip to navigation
skip to content

pivottablejs 0.8.1

PivotTable.js integration for Jupyter/IPython Notebook

Drag’n’drop Pivot Tables and Charts for Jupyter/IPython Notebook, care of PivotTable.js

Installation

pip install pivottablejs

Usage

import pandas as pd
df = pd.read_csv("some_input.csv")

from pivottablejs import pivot_ui

pivot_ui(df)

Advanced Usage

Include any option to PivotTable.js’s pivotUI() function as a keyword argument.

pivot_ui(df, rows=['row_name'], cols=['col_name'])

Independently control the output file path and the URL used to access it from Jupyter, in case the default relative-URL behaviour is incompatible with Jupyter’s settings.

pivot_ui(df, outfile_path="/x/y.html", url="http://localhost/a/b/x.html")
 
File Type Py Version Uploaded on Size
pivottablejs-0.8.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-11-15 4KB
pivottablejs-0.8.1.tar.gz (md5) Source 2017-11-15 3KB