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
Release history Release notifications | RSS feed
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)
Built Distribution
File details
Details for the file pivottablejs-0.7.0.tar.gz
.
File metadata
- Download URL: pivottablejs-0.7.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9459a4f78693d87ed4ec98f7a273c60111187ee7d6cb0964b805574bd0c4100 |
|
MD5 | 017426f90e9ff9d149d156398e7da397 |
|
BLAKE2b-256 | 10776757382365e861080b2a2ebd27b808cdf648eee8082bc7ee425ac71367b1 |
File details
Details for the file pivottablejs-0.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pivottablejs-0.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1eb77f6e6ae3b129e80e73f69e7e288ce6958c6ae616151a2a25600f325acf |
|
MD5 | f001a78177e5bf7395c31cbb32ad82ed |
|
BLAKE2b-256 | a1f6105aa9d99c15aa4a374f601d87cf008e3a313215bd03e5d4a7b4bf4c6468 |