GUI中的半交互式 pandas 数据框 [英] Semi-Interactive Pandas Dataframe in a GUI

查看:62
本文介绍了GUI中的半交互式 pandas 数据框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此问题有许多出色的答案 GUI用于显示数据框,但是我要做的是更高级的操作.

There are a number of excellent answers to this question GUIs for displaying dataframes, but what I'm looking to do is a bit more advanced.

我想显示一个数据框,但是有几列是交互式的,用户可以在其中手动覆盖值(其余为静态).具有随覆盖值而变化的总计"行,并最终在数据框周围具有一些用于加载和清除数据的交互式按钮,将是很有用的.

I'd like to display a dataframe, but have a couple of the columns be interactive where the user can manually overwrite values (and the rest be static). It would be useful to have "total" rows that change with the overwritten values and eventually have some interactive buttons around the dataframe for loading and clearing data.

QTPandas 看起来很有希望,但由于它是基于一个熊猫(0.17.1)的旧版本.可以在QT中完成吗?还有其他更好的东西吗?

QTPandas looks promising, but appears to be dead as it is build off of a really old version of Pandas (0.17.1). Can this be done in QT? Is something else better?

推荐答案

虽然本身不​​是GUI,但 XLWings 利用Excel作为GUI,使熊猫数据框对用户具有交互性,这是我们选择的库.

While not a GUI in itself, XLWings leveraged Excel as a GUI and makes pandas dataframes interactive for users and was our library of choice.

这篇关于GUI中的半交互式 pandas 数据框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆