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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pivottablejs-0.9.0.tar.gz.
File metadata
- Download URL: pivottablejs-0.9.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f0f9f692330f2f635dc37f05ad99da84646e4f3dbf9fe849cf6889de4b3210b
|
|
| MD5 |
c2fb86345de75b2099bc88475b74f2a0
|
|
| BLAKE2b-256 |
d9acbd261fdff9f6a6e8e28abbb1b007b812b1feb1b6bfaf43191f042f4e1c3c
|
File details
Details for the file pivottablejs-0.9.0-py2.py3-none-any.whl.
File metadata
- Download URL: pivottablejs-0.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
106dd59a81248664001a952c533aa73de532908b7a6a94e87cb7c39f113ad792
|
|
| MD5 |
9786ea262b6da132d93812d3dc582942
|
|
| BLAKE2b-256 |
0b0f46f1c9a1c9bf1540d3b7803753517fa9755cddc648769ba8cd67de82b51c
|