instead of the widget with the table it displays 'QgridWidget(grid_options={'fullWidthRows':True... as a text
dickreuter opened this issue · 0 comments
dickreuter commented
Environment
-
Operating System:
Windows -
Python Version:
$ python --version
3.7 -
How did you install Qgrid: (
pip
,conda
, orother (please explain)
)
pip -
Jupyter lab packages (if applicable):
$ jupyter labextension list
jupyter command jupyter-labextensions not found
Description of Issue
The following code does not work as expected for me in a jupyter notebook
import qgrid
import pandas as pd
df = pd.DataFrame(data={'A':[1,2,3]})
qgrid.show_grid(df, show_toolbar=True)
-
What did you expect to happen?
It displays instead: -
What happened instead?
QgridWidget(grid_options={'fullWidthRows':True, 'syncColumnCellResie'True ...
So instead of the table, displaying the actual object, it just displays a text describing the QgridWidget object.