如何在 JupyterLab 中使用nteract数据资源管理器?
从这个链接,似乎dx
可以在 JupyterLab 中安装(下图),但我没有找到相关文档:
在撰写本文时,jupyterlab 的安装过程与 Jupyter notebook 不同。这是因为它是一个完全不同的扩展,这里有源代码:
要安装它,请在终端中运行以下命令:
jupyter labextension install @jupyterlab/dataregistry-extension
关于如何使用资源管理器的更多文档在这里,以及一个示例活页夹部署,您可以在其中在线尝试资源管理器。
资料来源:感谢 nteract data-explorer slack 频道中的 Safia Abdalla 为我指明了正确的方向。
Adding to the answer by Cameron Yick: you can also get nteract's data-explorer to work for you by installing the dataregistry-extension (described by Cameron Yick) over the jupyter lab extension manager, completely graphically, without any code.
Regardless of how you install the extension, don't forget to add the line pandas.set_option('display.html.table_schema', True)
, it turns the dataframes into json objects and only then you can use the graphical features of data-explorer. Eventually, you have to click on the small square icon on the left or right vertical bar in jupyter lab to get the data-explorer interface. See my instructions below: