mito安装
pip install mitosheet
然后,安装JupyterLab扩展管理器。
jupyter labextension install @jupyter-widgets/jupyterlab-manager@2
JupyterLab就完事了。
jupyter lab
创建一个表
import mitosheet
mitosheet.sheet()
# import Python packages
import mitosheet
import pandas as pd
# Create a simple dataframe to display
car_data = pd.DataFrame({'car': ['Toyota', 'Nissan', 'Honda', 'Mini Cooper', 'Saturn'], 'mph': [60, 50, 60, 75, 90], 'length': [10, 12, 13, 8, 9]})
# render the Mitosheet with car_data
mitosheet.sheet(car_data)
参考:
阅读(2958) | 评论(0) | 转发(0) |