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

itable doesn't work on Colab #26

Closed
ofir-reich opened this issue Aug 15, 2021 · 4 comments
Closed

itable doesn't work on Colab #26

ofir-reich opened this issue Aug 15, 2021 · 4 comments

Comments

@ofir-reich
Copy link

Just prints out an empty table. Is this a known issue?
I'm using Google Colaboratory with a local runtime, i.e. running my own Jupyter backend, not hosted by Google.

@mwouts
Copy link
Owner

mwouts commented Aug 19, 2021

Hello @ofir-reich , well sorry indeed itables imports a javascript library (datatables.net) and this is known to work only in Jupyter notebook.

Still, there might be a chance that the workaround for JupyterLab also works for Colab. Would you like to give a try to this code snippet and report whether it works or not? Thanks

@ofir-reich
Copy link
Author

Thanks for the quick response!
I tried and unfortunately that code snippet doesn't work. I'm still getting an empty table printed out - with only the column names (as before).

@gwallison
Copy link

Thanks for the code snippet @mwouts. This fixes a problem Ive had upgrading to the new nbconvert templating system. itables is incredibly useful for my notebooks - I was worried I'd have to limp along without their functionality. Thankfully, not the case!

@mwouts
Copy link
Owner

mwouts commented Jan 6, 2022

The current development version of itables==0.4.0-dev does work now on Colab, following #43:
image

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

3 participants