Skip to main content

PivotTable.js integration for Jupyter/IPython Notebook

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pivottablejs-0.8.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pivottablejs-0.8.1-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pivottablejs-0.8.1.tar.gz.

File metadata

File hashes

Hashes for pivottablejs-0.8.1.tar.gz
Algorithm Hash digest
SHA256 c5077dd6dbf27674f5e04ae6a3ec80a661c4ac6ba9851d9b8049debf61a85b13
MD5 d96600dccab85c95b73e2549b36d225f
BLAKE2b-256 86caadede70485529ed36bc0014df15c733dd6efae641b0ff5dbe41e03a8647c

See more details on using hashes here.

File details

Details for the file pivottablejs-0.8.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pivottablejs-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cfe7dddfb15e75d013119c7f00f3b9fabc8d6ed31b3d99d277238c431013f6b2
MD5 14ffb70adb8698b869e04a9975cceb39
BLAKE2b-256 0d9e1904b3c0235f56970680cf801f8b54c1a14e552c74ea016f2d584c48c301

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page