python - pandastable 脱离框架
问题描述
当我在 pandastable 中激活滚动条时,我有点卡住了为什么我的桌子离开了框架。子帧中只显示了一半的列!
subframe = LabelFrame(tab1,text="Measurements", width=350, height=490)
subframe.grid(row=0, column=2)
df=pd.DataFrame(df_pred)
frame = tk.Frame(subframe)
frame.pack(fill='both', expand=True)
pt = Table(frame, dataframe=df,showtoolbar=True, showstatusbar=True)
pt.show()
解决方案
试试看 - pd.set_option("display.max_rows", None)
推荐阅读
- c++ - leetcode 092 reverse between - 为什么我的提交 #2 比 #1 慢?
- react-native - react-native-sqlite-storage windows createFromLocation 错误
- python - 用于具有阈值的多输出图像分类的拆分数据集
- c# - 从一个时区转换到另一个时区时,在本地计算机上找不到时区 id 'Russia TZ 8 Standard Time
- python - 带有初始网络的迁移学习模型的预处理
- html - requests:获取 Google Doc 或 Sheet 的最后修改时间?
- c# - 如何在 RS232 串口和本地笔记本电脑之间获取命令历史记录?
- reactjs - 自定义断点未显示在我的断点选项中
- huggingface-transformers - Transformer-base 或 Transformer-big 有多少个参数和 FLOP?如何计算?
- rdma - RDMA 读写数据放置/可见性语义