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

Is there any way to disable rendering of pandas DataFrame in a Python notebook? #6794

Closed
dclong opened this issue Feb 7, 2018 · 3 comments
Closed

Comments

@dclong
Copy link

dclong commented Feb 7, 2018

The ability to rendering pandas DataFrame is cool, but it's better for users to be able to disable it for 2 reasons.

  1. The rendering fails on some corner situations.

  2. The rendering won't work on GitHub. If I share the notebook with someone, he/she has to run the code again to see the result. It's probably better to just disable rendering of DataFrame in this situation.

@scottdraves
Copy link
Contributor

Hi yes, agreed, call beakerx.pandas_display_default() to return to default pandas rendering.
This is documented here: http://nbviewer.jupyter.org/github/twosigma/beakerx/blob/master/doc/python/TableAPI.ipynb

nbviewer can show the tables, btw.

@scottdraves
Copy link
Contributor

ps. if you can let us know what corner situations cause failure, please do!

@scottdraves
Copy link
Contributor

looks like this feature got turned on by default by mistake, maybe a factor: #6810

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

No branches or pull requests

2 participants