altair-viz / jupyterlab_voyager

JupyterLab extension visualize data with Voyager
BSD 3-Clause "New" or "Revised" License
298 stars 35 forks source link

Open Pandas Dataframe #14

Open saulshanabrook opened 7 years ago

saulshanabrook commented 7 years ago

A user should be able to open a Pandas dataframe they have in a notebook with Voyager.

The UI for this could be:

This might be able to be supported by telling Pandas to output a JSON table schemas and transforming that for Voyager.

zzhangjii commented 7 years ago

I feel the Chart works pretty good already, we can think about modify the options under the graph image

kanitw commented 7 years ago
saulshanabrook commented 6 years ago

@zzhangjii mentioned to me in an email (relating to https://github.com/altair-viz/jupyterlab_voyager/pull/19):

Another problem left is the restoration of Voyager panel widgets with Altair output or dataframe as data source: these data are from a notebook cell, not a file stored on hard disk, so currently these voyager widgets will be gone after refresh (I plan to create temporary files to solve this problem).

I wonder if it would be possible to save something in the state of the Voyager widget that refers to the cell or dataframe output. Then, when it is restored, it could lookup that reference and re-process the data.