如何在Jupyter Notebook中输入数据 [英] How to input data within Jupyter Notebook

查看:1850
本文介绍了如何在Jupyter Notebook中输入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已搜索但尚未找到解决方案:

I have searched for but have not found a solution to this:

是否有一种方法可以在Jupyter Notebook中内部创建数据,特别是通过类似pread.DataFrame({a:[] ,b:[]})?

Is there a way to create data within Jupyter Notebook, particularly tabular data in the form of a pandas DataFrame, via a spreadsheet-like interface as opposed to pd.DataFrame({a:[],b:[]})?

我并不是说要阅读csv或XLwings作为解决方案,而是指笔记本本身中的电子表格",以便可以将所有信息编辑和存储在一个地方,并且使用它对于更广泛的人群来说是很熟悉的

I don't mean read csv or XLwings as solutions, but rather a 'spreadsheet' in the notebook itself so that all information can be edited and stored in one place, and using it feels familiar to a more broad category of people.

开放创意.

谢谢

推荐答案

我自己还没有使用它,但是似乎 https://github.com/quantopian/qgrid 可能符合要求-他们说网格从v0.3.0开始是可编辑的.

I have not used it myself, but it seems that https://github.com/quantopian/qgrid might fit the bill -- they say that the grid is editable as of v0.3.0.

这篇关于如何在Jupyter Notebook中输入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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