Skip to content

satotake/pandas-sanddance

Repository files navigation

pandas-sanddance

Custom Jupyter Widget with SandDance

NOTE: this widget is alpha stage for now

Installation

You can install using pip:

pip install pandas_sanddance

Or if you use jupyterlab:

pip install pandas_sanddance
jupyter labextension install @jupyter-widgets/jupyterlab-manager

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:

jupyter nbextension enable --py [--sys-prefix|--user|--system] pandas_sanddance

Getting Started With

See also example/introduction.ipynb

import pandas as pd
from pandas_sanddance import SandDanceWidget
widget = SandDanceWidget()
widget.show()

df = pd.DataFrame([
    {'x': 1, 'y': 1: 'text': 'first'},
    {'x': 2, 'y': 2: 'text': 'second'},
    {'x': 3, 'y': 3: 'text': 'third'},
])
widget.load(df)

Powered by widget-ts-cookiecutter