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.6.0.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file pivottablejs-0.6.0.tar.gz
.
File metadata
- Download URL: pivottablejs-0.6.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 759775d3e1d18cd33584a5d93b820cb9471e0ac4d529561435fcc92cc82c152e |
|
MD5 | 794ba2bce604c91bd01ad17a2a4d3e81 |
|
BLAKE2b-256 | 0c75b1c18eda004dcff82a197f28ef9d27743a135501b253afc5df30fa6d5e89 |
File details
Details for the file pivottablejs-0.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pivottablejs-0.6.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 | f64958216d8110f8dda9b2b375641d48a5ca6b4c155244e7a51a8578679ad10c |
|
MD5 | 2e6628b976fcf004b492add4bbdc7feb |
|
BLAKE2b-256 | 161590766fee5cad242283dc63d7c41bc960b2d828ededb136f59d3cea1ebee2 |