зеркало из https://github.com/microsoft/SandDance.git
eb23c5dad4
* cast as any * npm audit fix |
||
---|---|---|
.. | ||
css | ||
examples | ||
sanddance | ||
src | ||
.gitignore | ||
.npmignore | ||
LICENSE.txt | ||
README-dev.md | ||
README-release.md | ||
README.md | ||
package-lock.json | ||
package.json | ||
pytest.ini | ||
requirements-dev.txt | ||
sanddance.json | ||
setup.cfg | ||
setup.py | ||
setupbase.py | ||
tsconfig.json | ||
webpack.config.js |
README.md
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