mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
757 stars 56 forks source link

itable didn't work in jupyter #12

Closed SailingHe closed 2 years ago

SailingHe commented 4 years ago

I installed itables(0.2.1),it successedly inbstalled and I insert import itables.interactive ; However,it didn't work,the dataframe didn't display. The dataframe had data,when I use print or display(from ipython),the dataframe displayed; I didn't know what's the matter.

mwouts commented 4 years ago

Hi @SailingHe , do we agree that itables only work in Jupyter Notebook (not Lab) ?

If so, could you please

  1. confirm that itables on mybinder works for you
  2. share the version of Jupyter Notebook that you are using
  3. show us your browser logs - is there any error message there?
SailingHe commented 4 years ago

I used it in jupyter notebook and the version is 5.7.8; I don't understand the first reply(the binder?) I guess the problem lies in the binder.The binder depend on package jupyter_contrib_nbextensions? I used jupyter notebook in an environment without internet ,when I tried to install the jupyter_contrib_nbextensions from Compressed file(zip), An error occurred: No such file in C:\users\user_name\AppData\Local\Temp\pip-req-build-h0ron93p\setup.py I don't know how to install jupyter_contrib_nbextensions without internet

mwouts commented 4 years ago

I don't understand the first reply(the binder?)

My link above (mybinder) provides a notebook in which you can test itables.

I used jupyter notebook in an environment without internet

Oh I see! That explains the problem: itables is based on datatables.net and requires an internet connection to download that library, every time you open a notebook.

SailingHe commented 3 years ago

Oh I see! That explains the problem: itables is based on datatables.net and requires an internet connection to download that library, every time you open a notebook.

could I download datatables.net to my computer which without internet?

mwouts commented 2 years ago

Closing this as a duplicate of #8