adamerose / adamerose/PandasGUI

An error in simplest PandasGUI script

未關閉
#160 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
3.3k
分支
239
PR 合併指標
30 天內沒有已合併 PR

描述

I am trying to run the simplest pandasGUI example.

```
import pandas as pd
from pandasgui import show
df = pd.DataFrame(([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
columns=['a', 'b', 'c'])
show(df)
```
But I get the following error.

Traceback (most recent call last):
File "C:\Users\Дмитрий\\.spyder-py3\temp.py", line 12, in
show(df)
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 460, in show
pandas_gui = PandasGui(settings=settings, **kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 73, in __init__
self.init_ui()
File "C:\ProgramData\Miniconda3\lib\site-packages\pandasgui\gui.py", line 161, in init_ui
self.store.settings.settingsChanged.connect(self.apply_settings)
**RuntimeError: wrapped C/C++ object of type SettingsStore has been deleted**

**Environment**
Windows 10)
Python 3.9.4 64-bit | Qt 5.15.2 | PyQt5 5.15.4
IDE: Spyder 4.2.5 (other attempt - 5.0.5 - get the same mistake)

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。