自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

好用到飛起的12個jupyter lab插件

開發(fā) 開發(fā)工具
本文就將給大家介紹在我的日常工作中經(jīng)常使用到的12個jupyter lab實用插件。

1. 簡介

jupyter lab作為jupyter notebook的升級改造版,除了更加人性化的交互界面以及更多的用戶自主定制功能之外,最吸引人的就是其豐富多樣的拓展插件,使得每個使用jupyter lab的人都可以按照自己所需挑選安裝插件,組合出自己心中的完美工作臺。

好用到飛起的12個jupyter lab插件
圖1​

本文就將給大家介紹在我的日常工作中經(jīng)常使用到的12個jupyter lab實用插件。

jupyter lab實用插件推薦

1. debugger

在jupyter notebook或jupyter lab中debug有多么蛋疼,嘗試過的朋友們應(yīng)該都有所體會。但隨著jupyter lab官方插件debugger的橫空出世,在jupyter lab中進行debug變得不再痛苦,充滿了樂趣: 

圖2​

但要注意當前的debugger插件基于xeus內(nèi)核,這是與我們平常使用的ipykernel內(nèi)核不太一樣,所以要想在jupyter lab中使用debugger插件,需要先安裝xeus內(nèi)核再進行debugger的安裝,安裝過程命令如下:

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

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

2. geojson-extension

對于經(jīng)常處理矢量數(shù)據(jù)的朋友而言,geojson格式的文件想必也是比較熟悉,而jupyter lab中的geojson-extension插件可以幫助我們在jupyter lab界面中以地圖可視化的方式打開查看geojson文件:

圖3​

但要注意的是,因為是基于leaflet的界面,所以不要用這種方式來查看要素太多的geojson文件(不過應(yīng)該沒有人會用geojson格式存大量矢量信息吧)

安裝命令:

  1. jupyter labextension install @jupyterlab/geojson-extension 

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

3. jupyterlab-toc

jupyterlab-toc幫助我們在notebook界面利用markdown來創(chuàng)建目錄,輔助我們更好地整合梳理數(shù)據(jù)分析工作流:

好用到飛起的12個jupyter lab插件

圖4​

安裝命令:

  1. jupyter labextension install @jupyterlab/toc 

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

4. jupyter-matplotlib

jupyter-matplotlib幫助我們在notebook界面配合matplotlib實現(xiàn)交互式的作圖,只需要在繪圖之前執(zhí)行魔法命令%matplotlib widget,之后繪制的所有matplotlib圖表即可自動轉(zhuǎn)換為交互式的:

好用到飛起的12個jupyter lab插件

圖5​

安裝命令:

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

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

5. jupyterlab-drawio

jupyterlab-drawio是一個讓我們可以在jupyter lab界面內(nèi)基于drawio繪制流程圖、思維導(dǎo)圖等示意圖的插件:

好用到飛起的12個jupyter lab插件

圖6​

安裝命令:

  1. jupyter labextension install jupyterlab-drawio 

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

6. jupyterlab-execute-time

jupyterlab-execute-time插件幫助我們在jupyter lab中記錄每個單元cell的執(zhí)行開始以及運行耗時:

好用到飛起的12個jupyter lab插件

圖7​

安裝命令:

  1. jupyter labextension install jupyterlab-execute-time 

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

7.  jupyterlab-plotly

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

好用到飛起的12個jupyter lab插件

圖8​

安裝命令:

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

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

8. jupyterlab-spreadsheet

jupyterlab-spreadsheet幫助我們在jupyter lab中查看表格類文件,特別是其支持查看多工作表的excel表格文件:

好用到飛起的12個jupyter lab插件

圖9​

安裝命令:

  1. jupyter labextension install jupyterlab-spreadsheet 

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

9. jupyterlab-system-monitor

jupyterlab-system-monitor通過在jupyter lab界面中添加資源監(jiān)視器部件,能幫助我們在工作過程中方便的看到CPU、內(nèi)存的實時占用情況:

圖10​

安裝命令:

  1. pip install nbresuse 
  2. jupyter labextension install jupyterlab-topbar-extension jupyterlab-system-monitor 

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

10. keplergl-jupyter

keplergl-jupyter是我使用非常頻繁的jupyter lab插件,因為沒有它就無法在jupyter lab中正常使用keplergl:

圖11​

安裝命令:

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

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

11. jupyterlab-kite

這個插件我們之前的文章仔細介紹過,幫助我們建立代碼補全神器kite與jupyter lab之間的通道,幫助我們在jupyter lab使用kite代碼補全服務(wù):

圖12​

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

  1. pip install jupyter-kite 
  2. jupyter labextension install @kiteco/jupyterlab-kite 

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

12. jupyterlab-variableInspector

jupyterlab-variableInspector幫助我們在jupyter lab中查看當前環(huán)境中存在的變量相關(guān)信息,以美觀的界面形式對多種類型的對象予以呈現(xiàn):

好用到飛起的12個jupyter lab插件

圖13​

安裝命令:

  1. jupyter labextension install @lckr/jupyterlab_variableinspector 

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

 

責任編輯:趙寧寧 來源: 今日頭條
相關(guān)推薦

2020-09-20 22:04:11

Windows 工具系統(tǒng)

2022-02-24 10:48:01

Pycharm插件

2024-07-19 10:31:15

2023-07-03 08:29:01

2023-01-17 16:43:19

JupyterLab技巧工具

2022-04-18 07:32:31

Chrome瀏覽器插件

2021-07-15 10:55:59

SQLLinux日志

2021-07-28 06:51:09

linux

2021-03-19 09:48:10

Jupyter Not插件Python

2019-11-24 23:12:30

Vim插件編輯器編程語言

2022-09-02 08:21:24

idea插件

2020-04-22 15:45:59

Linux shellLinux命令

2021-11-15 10:02:16

Python命令技巧

2023-04-26 00:34:36

Python技巧程序員

2021-01-13 13:21:30

Jupyter Lab插件開發(fā)

2021-11-26 10:36:36

瀏覽器插件谷歌

2013-08-01 15:12:43

2021-03-02 07:33:10

VSCode插件代碼

2012-03-29 09:27:49

WEBjQuery

2021-07-19 15:47:45

Python編程語言代碼
點贊
收藏

51CTO技術(shù)棧公眾號