Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the jupyter plug-in jupyter lab

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to use the jupyter plug-in jupyter lab, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Jupyter lab is by far the most comfortable platform I've experienced for tasks such as data analysis, but that doesn't mean it's perfect, because it's still lacking in many ways, such as interactive editing of csv files.

The jupyter lab plug-in that will be introduced below gives us a high degree of freedom to interactively manipulate csv files, without the need for excel, to achieve the "addition, deletion, modification and query" of csv table data.

Edit the csv file in jupyter lab

In order to be able to edit the csv file in jupyterlab, we need to install the plug-in jupyterlab-tabular-data-editor first and execute the following command to complete the installation:

Jupyter labextension install jupyterlab-tabular-data-editor

After the installation is complete, start jupyter lab again to find that there is an extra CSV File icon in the bottom row of the "Launcher" page:

Click it to open a new csv file editing window:

Let's take a look at some common features:

"New rows or columns"

You can create a new row or column by clicking the + on the row or column:

"modify column name"

Double-click the original column name to enter the editing state to modify the column name:

"freely drag rows or columns"

By dragging and dropping, you can freely adjust the position of a row or column:

Copy and paste of single or multiple cells

Copy and paste of single or multiple cells is also supported:

In addition to these, it also supports automatic inference and interactive modification of column element types:

You can visit the official documentation to see more functional descriptions. With this gadget, coupled with libraries such as pandas that we are familiar with, it becomes easier and easier to deal with tabular data in jupyter lab.

The above is how to use the jupyter plug-in jupyter lab. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report