@msrvida/sanddance-jupyter-widget

SandDance data exploration Jupyter Widget

Usage no npm install needed!

<script type="module">
  import msrvidaSanddanceJupyterWidget from 'https://cdn.skypack.dev/@msrvida/sanddance-jupyter-widget';
</script>

README

sanddance-jupyter-widget

Custom Jupyter Widget with SandDance

Installation

You can install using pip:

pip install sanddance

If you use jupyterlab:

jupyter labextension install @msrvida/sanddance-jupyter-widget
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 install --sys-prefix --symlink --overwrite --py sanddance 
jupyter nbextension enable --py --sys-prefix sanddance

Or you can install with conda instead of pip

conda install sanddance

Getting Started

See also examples/introduction.ipynb

import pandas as pd
from sanddance import Explorer
sd = Explorer()
sd.show()

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

Powered by widget-ts-cookiecutter