adamerose / adamerose/PandasGUI

PandasGUI not responding

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.3k
Forks
239
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/99534415/173220483-5b0e4e87-facb-4a3b-ad38-906b24a3d87b.png)
![sample_image](https://user-images.githubusercontent.com/99534415/173220636-5b76d2d8-a99d-47f1-873c-eac798c22b68.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.