跳转到主要内容

JupyterLab电子表格(csv/tsv)编辑器

项目描述

JupyterLab电子表格编辑器

Extension status GitHub Action Status Binder pypi-version

JupyterLab电子表格编辑器允许交互式编辑逗号/制表符分隔值电子表格。它支持公式、排序、列/行重排等!

注意:您可能还希望查看tabular-data-editor

展示

功能齐全的集成

  • 行/列操作,调整列宽
  • 搜索和替换

公式支持 基本公式计算(渲染)- 如jExcel实现。

列冻结 用于探索具有许多协变量的宽数据集

启动项:从启动器或调色板轻松创建CSV/TSV文件。

轻量级且可靠的依赖项:电子表格界面使用jexcel构建,而Papa Parse提供非常快速、RFC 4180兼容的CSV解析(两者都没有第三方依赖项)。

需求

  • JupyterLab >= 3.0

安装

pip install jupyterlab-spreadsheet-editor

贡献

开发安装

注意:您将需要NodeJS来构建扩展包。

《jlpm》命令是JupyterLab中预装版本的yarn,与JupyterLab一同安装。在以下情况下,您可以使用yarnnpm代替jlpm

# Clone the repo to your local environment
# Change directory to the jupyterlab-spreadsheet-editor directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build

您可以在不同的终端同时监视源目录并运行JupyterLab,以便监视扩展源代码的变化并自动重建扩展。

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

在监视命令运行时,每次保存的更改都将立即在本地上构建并可供正在运行的JupyterLab使用。刷新JupyterLab以在浏览器中加载更改(您可能需要等待几秒钟,直到扩展重建完成)。

默认情况下,jlpm run build命令为该扩展生成源映射,以便更容易使用浏览器开发者工具进行调试。要为JupyterLab核心扩展也生成源映射,可以运行以下命令

jupyter lab build --minimize=False

卸载

pip uninstall jupyterlab-spreadsheet-editor

相关扩展

电子表格编辑器

电子表格查看器

笔记本中的电子表格小部件

  • ipysheet - 可编程的电子表格创建、探索和修改
  • qgrid - 交互式DataFrame探索和修改

项目详情


下载文件

下载适合您平台的应用程序。如果您不确定该选择哪一个,请了解更多关于安装包的信息。

源分发

jupyterlab_spreadsheet_editor-0.7.2.tar.gz (1.9 MB 查看哈希)

上传时间

构建分发

jupyterlab_spreadsheet_editor-0.7.2-py3-none-any.whl (165.0 kB 查看哈希)

上传时间 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面