-
Notifications
You must be signed in to change notification settings - Fork 414
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
Jupyter Notebook - showing table not working #64
Comments
@jarach Sorry, was working on getting v1.7.5 out. I will begin looking at this today. The more screenshots the better! 👍 |
@jarach couple questions:
To get around the issue of showing the same dataframe everytime I could try using something like I think a better approach would be to have another message display each time you call |
I seem to be getting the same issue in Google Cloud's AI platform notebooks: seems to return a blank preview too Same in Jupyter classic notebook mode: Am wondering whether this is a technical limitation of using a hosted notebook in GCP, or whether Google restricted some actions in their Jupyterlab environment. BTW also tried the trick above: But am getting the following error message: Error Traceback (most recent call last) ~/.local/lib/python3.5/site-packages/dtale/views.py in open_browser(self) /usr/lib/python3.5/webbrowser.py in get(using) Error: could not locate runnable browser |
Yes, there is a limitation on using D-Tale in hosted notebooks. You would have to go to the administrators running those notebook services and ask them if you can allow port 40000 (the first port D-Tale checks when it starts up) to be viewable. I've already sent requests out to google collab & kaggle to see if they will allow this, but for the time being theres not much that can be done about it. You may want to try:
and then copying and pasting that link into a new tab. There is a small chance that the issue is around how the notebook is hosted (https) and how D-Tale is hosted (http). But most likely the former is true and you'll have to speak with the admins. As for the issue with the |
Thanks for the speedy answer @aschonfeld - makes sense. |
Just released v1.7.6 with the duplicate data check. I'm going to close this issue since the other aspects are related issues with how notebooks are being hosted rather than with code. |
Example behavior:

When I run 2nd cell with
d.open_browser()
it opens (as expected) a new browser tab with the table.After that when I re-run the 1st cell the table appeared as expected in the notebook.
I did it several times and it started being worse. Running command:
'd = dtale.show(df, notebook=True)`
takes long time to display the table (over 2min).
I restarted kernel and tested several combinations of commands. Only following works:

The last 2 cell take very long time to run.
And after several runs it stopped working at all:


I was restarting kernel each time. I even restarted jupyter notebook several times.
Sorry for so many screenshots. I wanted to explain the issue in details.
I hope it helps.
The text was updated successfully, but these errors were encountered: