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


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

Uploaded Source

Built Distribution

pivottablejs-0.8.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pivottablejs-0.8.0.tar.gz
Algorithm Hash digest
SHA256 34721a8e9bc4cb384304bc924853b0fecaa0a6751aaefaa63cb1d89021f4b9ff
MD5 6e828cfc72ef0502325d726a052c1f5f
BLAKE2b-256 fb78517225db7bc2b449dc75d491cdf3bb0036ca63c064eb38f95ba38fcb9f9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pivottablejs-0.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0b258136ad42db1076d14c498a6aade9faf852b6a2f74088494cf13bdaf5d527
MD5 1bd065ce19c59c671aaf6727b5b6c269
BLAKE2b-256 d34f551e42d26c8f9f4f0ef78b7672173227f80316ac47f9dee31a8ccf5b9519

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