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.7.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pivottablejs-0.7.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e9459a4f78693d87ed4ec98f7a273c60111187ee7d6cb0964b805574bd0c4100
MD5 017426f90e9ff9d149d156398e7da397
BLAKE2b-256 10776757382365e861080b2a2ebd27b808cdf648eee8082bc7ee425ac71367b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc1eb77f6e6ae3b129e80e73f69e7e288ce6958c6ae616151a2a25600f325acf
MD5 f001a78177e5bf7395c31cbb32ad82ed
BLAKE2b-256 a1f6105aa9d99c15aa4a374f601d87cf008e3a313215bd03e5d4a7b4bf4c6468

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