1 简介

jupyter lab作为jupyter notebook的升级改造版,除了更加人性化的交互界面以及更多的用户自主定制功能之外,最吸引人的就是其丰富多样的拓展插件,使得每个使用jupyter lab的人都可以按照自己所需挑选安装插件,组合出自己心中的完美工作台。

图1

本文就将给大家介绍在我的日常工作中经常使用到的12个jupyter lab实用插件。

2 jupyter lab实用插件推荐

2.1 debugger

jupyter notebookjupyter lab中debug有多么蛋疼,尝试过的朋友们应该都有所体会。但随着jupyter lab官方插件debugger的横空出世,在jupyter lab中进行debug变得不再痛苦,充满了乐趣:

图2

但要注意当前的debugger插件基于xeus内核,这是与我们平常使用的ipykernel内核不太一样,所以要想在jupyter lab中使用debugger插件,需要先安装xeus内核再进行debugger的安装,安装过程命令如下:

conda install xeus-python=0.8.0 -c conda-forge
jupyter labextension install @jupyterlab/debugger

官方文档:https://github.com/jupyterlab/debugger

2.2 geojson-extension

对于经常处理矢量数据的朋友而言,geojson格式的文件想必也是比较熟悉,而jupyter lab中的geojson-extension插件可以帮助我们在jupyter lab界面中以地图可视化的方式打开查看geojson文件:

图3

但要注意的是,因为是基于leaflet的界面,所以不要用这种方式来查看要素太多的geojson文件(不过应该没有人会用geojson格式存大量矢量信息吧????)

安装命令:

jupyter labextension install @jupyterlab/geojson-extension

官方文档:https://github.com/jupyterlab/jupyter-renderers

2.3 jupyterlab-toc

jupyterlab-toc帮助我们在notebook界面利用markdown来创建目录,辅助我们更好地整合梳理数据分析工作流:

图4

安装命令:

jupyter labextension install @jupyterlab/toc

官方文档:https://github.com/jupyterlab/jupyterlab-toc

2.4 jupyter-matplotlib

jupyter-matplotlib帮助我们在notebook界面配合matplotlib实现交互式的作图,只需要在绘图之前执行魔法命令%matplotlib widget,之后绘制的所有matplotlib图表即可自动转换为交互式的:

图5

安装命令:

pip install ipympl
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib

官方文档:https://github.com/matplotlib/ipympl

2.5 jupyterlab-drawio

jupyterlab-drawio是一个让我们可以在jupyter lab界面内基于drawio绘制流程图、思维导图等示意图的插件:

图6

安装命令:

jupyter labextension install jupyterlab-drawio

官方文档:https://github.com/QuantStack/jupyterlab-drawio

2.6 jupyterlab-execute-time

jupyterlab-execute-time插件帮助我们在jupyter lab中记录每个单元cell的执行开始以及运行耗时:

图7

安装命令:

jupyter labextension install jupyterlab-execute-time

官方文档:https://github.com/deshaw/jupyterlab-execute-time

2.7 jupyterlab-plotly

jupyterlab-plotly是一款帮助plotly图像在jupyter lab中正常渲染的插件:

图8

安装命令:

jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget@4.9.0

官方文档:https://github.com/plotly/plotly.py

2.8 jupyterlab-spreadsheet

jupyterlab-spreadsheet帮助我们在jupyter lab中查看表格类文件,特别是其支持查看多工作表的excel表格文件:

图9

安装命令:

jupyter labextension install jupyterlab-spreadsheet

官方文档:https://github.com/quigleyj97/jupyterlab-spreadsheet

2.9 jupyterlab-system-monitor

jupyterlab-system-monitor通过在jupyter lab界面中添加资源监视器部件,能帮助我们在工作过程中方便的看到CPU、内存的实时占用情况:

图10

安装命令:

pip install nbresuse
jupyter labextension install jupyterlab-topbar-extension jupyterlab-system-monitor

官方文档:https://github.com/jtpio/jupyterlab-system-monitor

2.10 keplergl-jupyter

keplergl-jupyter是我使用非常频繁的jupyter lab插件,因为没有它就无法在jupyter lab中正常使用keplergl

图11

安装命令:

jupyter labextension install @jupyter-widgets/jupyterlab-manager keplergl-jupyter

官方文档:https://github.com/keplergl/kepler.gl/tree/master/bindings/kepler.gl-jupyter

2.11 jupyterlab-kite

这个插件我们之前的文章仔细介绍过,帮助我们建立代码补全神器kitejupyter lab之间的通道,帮助我们在jupyter lab使用kite代码补全服务:

图12

安装命令(需要jupyter lab版本大于等于2.2.0):

pip install jupyter-kite
jupyter labextension install @kiteco/jupyterlab-kite

官方文档:https://github.com/kiteco/jupyterlab-kite

2.12 jupyterlab-variableInspector

jupyterlab-variableInspector帮助我们在jupyter lab中查看当前环境中存在的变量相关信息,以美观的界面形式对多种类型的对象予以呈现:

图13

安装命令:

jupyter labextension install @lckr/jupyterlab_variableinspector

官方文档:https://github.com/lckr/jupyterlab-variableInspector

以上就是本文的全部内容,如有疑问欢迎在评论区与我进行讨论~

往期精彩回顾适合初学者入门人工智能的路线及资料下载机器学习及深度学习笔记等资料打印机器学习在线手册深度学习笔记专辑《统计学习方法》的代码复现专辑
AI基础下载机器学习的数学基础专辑获取一折本站知识星球优惠券,复制链接直接打开:https://t.zsxq.com/yFQV7am本站qq群1003271085。加入微信群请扫码进群:

【Python】值得推荐的12个jupyter lab插件相关推荐

  1. 大幅提高生产力:你需要了解的十大Jupyter Lab插件

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 下一代数据科学开发环境 Jupyter Lab 应该怎么用?让我们 ...

  2. jupyter lab 插件安装及必备插件

    jupyter lab插件安装必须先安装node.js(基于Anaconda 的jupyter lab) conda install nodejs 打开 Extension Manager 默认是关闭 ...

  3. IDEA 值得推荐的十几款优秀插件,狂,拽,屌!

    点击关注公众号,实用技术文章及时了解 来源:blog.csdn.net/win7system/article/details/83508313 最近,闲来无事,为了改变一下枯燥的编程环境,特地搜寻了下 ...

  4. 【二】jupyter lab插件相关问题

    文章目录 一.前言 二.插件介绍 2.1 jupyterlab-kite 2.2 debugger 2.3 geojson-extension 2.4 jupyterlab-toc 2.5 jupyt ...

  5. jupyter lab插件无法打开,且报错Error: 500 (Internal Server Error)

    报错信息 WARNING Error communicating with server extension. Consult the documentation for how to ensure ...

  6. Jupyter Lab 十大高生产力插件

    如果你是一个用 Python 的数据科学家,那么用 Jupyter Notebook 就是大概率事件了.作为 Jupyter Notebook 的「下一代」web 应用,Jupyter Lab 提供了 ...

  7. 怎样安装python在桌面_在Windows上安装和配置 Jupyter Lab 作为桌面级应用程序教程...

    什么是 Jupyter Lab Jupyter Lab 是 Jupyter notebook 的升级版,优点这里不作赘述. 一.安装 Jupyter Lab 如果你安装了 Anaconda,最新版的 ...

  8. 【Python】这款拓展让你的jupyter lab使用更高效

    有一段时间没有分享过有关jupyter lab的内容了,今天给大家介绍一款实用的jupyter lab插件,可以帮助我们打造更灵活易用的jupyter lab. 图1 这款拓展的名称叫做jlab-en ...

  9. Ubuntu20.04云服务器安装配置Jupyter Lab

    ❚ 前言 Jupyter Lab 是 Jupyter 主打的最新数据科学生产工具,是基于Web的交互式开发环境.某种意义上,它的出现是为了取代 Jupyter Notebook,但它也包含了 Jupy ...

最新文章

  1. JavaScript中对象数组,如何给对象添加一个新属性
  2. linux中cc和S的区别,为什么在linux命令(iostat)中每秒读取(r/s)一直为零?
  3. 内核版常见问题和精华贴总结(VER 0.1) [
  4. 响应信息不明确的接口做关联
  5. python ioc di_PHP的依赖注入(DI) 和 控制反转(IoC)
  6. 《探索需求》——阅读笔记一
  7. 【报告分享】2021企业营销数字化转型研究报告.pdf(附下载链接)
  8. NUC1077 Humble Numbers【数学计算+打表】
  9. Cisco1721的简单配置
  10. 12,三维Panel
  11. 计算机软件故障实验报告,湖大选修实验报告计算机软硬件一般故障的排除.doc...
  12. 波束形成算法学习笔记之二(固定波束形成)
  13. 软件设计证书倒数50天-软件工程重要的证书
  14. zzulioj1197 考试排名(一)(结构体专题)
  15. 19254:狙击战(二分答案)
  16. opencv中findContours 和drawContours画图函数
  17. openPTrack v2 安装 | 3、OpenPTrack v2 模块编译
  18. 31省份推出40万亿投资蓝图 新基建、公共卫生成亮点
  19. 蒉莺春:京东开放平台和阿里系气质不一样
  20. php下载随机api图片_php中直接输出随机图片的API

热门文章

  1. IBatis.Net学习笔记(四)--再谈查询
  2. IntellIJ IDEA 启动 参数 配置
  3. Spring3+ibatis (SQL Server)+pager-taglib.tld查询分页的实现
  4. 腾讯、百度、阿里、微软面试题精选(不断更新)
  5. 趣文:程序员/开发人员的真实生活
  6. 扩展方法的定义及使用
  7. 动物模型:急性肝脏损伤模型的构建及选择
  8. JavaScript(一)——快速入门
  9. 北斗导航 | 卫星导航基础知识(卫星通信调制技术:信号调制、解调:ASK、FSK、PSK:FDMA、TDMA、CDMA、SDMA)
  10. 详解 GNU C 标准中的 typeof 关键字