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 valid 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.

pivot_ui(df, outfile_path="x.html", url_prefix="http://localhost/path/")

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

Uploaded Source

Built Distribution

pivottablejs-0.4.0-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pivottablejs-0.4.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pivottablejs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 15f18a21c816c29ececa3f3db0ecfaef3aee8e8cea53810be6ea401c7c77daf0
MD5 7fa67dfaf20d1c1561991082e7c173c0
BLAKE2b-256 1c41c2ffd546a4b31de50efe9f371c2e21428b9a3c6a8526813cca028d934c55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15b41223cc36baa6c1167a674ebd7267a387c1d9e75330022b93adf0011054e3
MD5 d044f0936c8956d8bd51e02af8c6978c
BLAKE2b-256 358e8b1daeb0d277908b6d0e2efc6d1b4bc87d5b73b5070b913a8d351bde2b4c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page