qgrid icon indicating copy to clipboard operation
qgrid copied to clipboard

instead of the widget with the table it displays 'QgridWidget(grid_options={'fullWidthRows':True... as a text

Open dickreuter opened this issue 4 years ago • 0 comments

Environment

  • Operating System: Windows

  • Python Version: $ python --version 3.7

  • How did you install Qgrid: (pip, conda, or other (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.

dickreuter avatar Jan 30 '21 17:01 dickreuter