Socket
Socket
Sign inDemoInstall

ptwidget

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ptwidget

Pivot Table Widget


Maintainers
1

Readme

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)

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc