为Jupyter集成手持设备和熊猫
handsontablesjs的Python项目详细描述
版本号:0.0.1 作者:David Fullmer
概述
为jupyter集成了带有双向绑定的pandas手持设备。
安装/使用
要安装,请使用pip:
$ pip install handsontablesjs
或者克隆回购协议:
$ git clone https://github.com/techmuch/jupyter-handsontables.git $ python setup.py install
贡献
待定
示例
import numpy as np import pandas as pd from handsontablesjs import *
data = np.random.randint(size=(3, 5), low=100, high=900) df = pd.DataFrame(data)
ht = HandsonTable(value=df)
只需使用ht查看handsontable,或使用ht.value查看pandas数据框