Skip to main content

Pivot Table Widget

Project description

PivotTable-Widget

This package provides ipywidget wrapper around Pivot Table package from https://pypi.org/project/pivottablejs/
The wrapper is needed to render Pivot Table in webpage via servers like voila.
The wrapper is written using Iframe widget provided by package - https://pypi.org/project/ipyiframe/.

Build:

python3 -m build

Install:

pip3 install --user ./dist/ptwidget-0.1.0-py3-none-any.whl

Example: import pandas as pd
import numpy as np
from ptwidget import pivottable as wd
df = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),columns=['a', 'b', 'c'])
wd.ptwidget(df)

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

ptwidget-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

ptwidget-0.1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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