Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python autotranslation of pandas dataframe #7610

Closed
scottdraves opened this issue Jun 30, 2018 · 1 comment
Closed

python autotranslation of pandas dataframe #7610

scottdraves opened this issue Jun 30, 2018 · 1 comment
Assignees

Comments

@scottdraves
Copy link
Contributor

%%python
from beakerx import beakerx
import pandas as pd
beakerx.bar = pd.read_csv('../resources/data/interest-rates.csv')

fails with

TypeError: Object of type 'DataFrame' is not JSON serializable
@scottdraves
Copy link
Contributor Author

the value appears in groovy now but as a dictionary it still should be converted to a proper TableDisplay class:
screen shot 2018-07-05 at 9 48 36 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants