Skip to main content

pivottablejs: the Python module

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

Release files for pivottablejs 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pivottablejs 0.9.0
File Size Uploaded
pivottablejs-0.9.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pivottablejs 0.9.0
File Interpreter ABI Platform
pivottablejs-0.9.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.3 kB

Release files / pivottablejs-0.9.0.tar.gz

Download URL pivottablejs-0.9.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0f9f692330f2f635dc37f05ad99da84646e4f3dbf9fe849cf6889de4b3210b
BLAKE2b-256 checksum
How to use checksums
d9acbd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pivottablejs-0.9.0-py2.py3-none-any.whl

Download URL pivottablejs-0.9.0-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
106dd59a81248664001a952c533aa73de532908b7a6a94e87cb7c39f113ad792
BLAKE2b-256 checksum
How to use checksums
0b0f46f1c9a1c9bf1540d3b7803753517fa9755cddc648769ba8cd67de82b51c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page