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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.9.0.tar.gz
Algorithm Hash digest
SHA256 9f0f9f692330f2f635dc37f05ad99da84646e4f3dbf9fe849cf6889de4b3210b
MD5 c2fb86345de75b2099bc88475b74f2a0
BLAKE2b-256 d9acbd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 106dd59a81248664001a952c533aa73de532908b7a6a94e87cb7c39f113ad792
MD5 9786ea262b6da132d93812d3dc582942
BLAKE2b-256 0b0f46f1c9a1c9bf1540d3b7803753517fa9755cddc648769ba8cd67de82b51c

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