在GUI中显示统计结果
我有一个数据集,并使用生命线库对其执行 kaplan meier 分析,然后执行对数排名和 cox 分析,但我收到的输出是“统计结果”类型,我希望在 GUI 上显示它,但无法弄清楚。
I have a dataset and perform kaplan meier analysis on it using lifelines library, I then perform log rank and cox analysis, but the output i receieve are type 'statistical result' I would live to display this on a GUI but cannot figure it out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将数据保存为
csv
文件。由此,像
tkinter
这样的(或任何)包可以读取 CSV。这是一个 stackoverflow 链接:
如何在网格中显示 csv 文件?
这是代码示例:
显然,您需要将您的变体应用于此。
You can save the data as a
csv
file.From this, a (or any) package like
tkinter
can read the CSV.Here is a stackoverflow link to such:
How to show csv file in a grid?
And here is an example of the code:
Obviously, you would need to apply your variant to this.