adamerose / PandasGUI

A GUI for Pandas DataFrames
MIT No Attribution
3.18k stars 232 forks source link

PandasGUI not responding #205

Open glitchyordis opened 2 years ago

glitchyordis commented 2 years ago

System: Windows 10. Python 3.9.12

Hi. PandasGUI is not responding after appearing in VS code Jupyter notebook (see figure). It works when I do show(data, settings={'block': True}) but the jupyter cell won't stop running even after I close pandasgui. I was able to show the dataframe without problem in jupyter using data.head().

I have no issue using pandasgui with the examples in https://github.com/adamerose/PandasGUI.

Code modified from https://github.com/ultralytics/yolov5/issues/36, "Simple Example" import torch import pathlib from pandasgui import show

model = torch.hub.load('ultralytics/yolov5', 'yolov5s') im = pathlib.Path('sample_image.png')

Inference

results = model(im) data = results.pandas().xyxy[0] data.head() gui = show(data)

image sample_image