JupyterLab Basic Setup for Data Analysis (pip)

A JupyterLab setting procedure A base setting with minimum packages via pip This is the basic setting of Jupyter Lab by pip. Prerequisite

Getting Started JupyterLab installation

$ python -m venv /path/to/new/virtual/environment
$ cd /path/to/new/virtual/environment
$ pip install jupyterlab

Extensions

$ pip install ipywidgets
$ jupyter nbextension enable --py widgetsnbextension
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install @lckr/jupyterlab_variableinspector
$ jupyter labextension install @jupyterlab/toc
$ jupyter labextension install jupyterlab_filetree
$ jupyter labextension install @krassowski/jupyterlab_go_to_definition
$ pip install jupyter-lsp
$ jupyter labextension install @krassowski/jupyterlab-lsp
$ pip install python-language-server[all]
$ jupyter labextension install @ryantam626/jupyterlab_code_formatter
$ pip install jupyterlab_code_formatter
$ jupyter serverextension enable --py jupyterlab_code_formatter
$ pip install jupytext --upgrade
$ jupyter labextension install jupyterlab-jupytext
$ pip install --upgrade jupyterlab-git
$ jupyter lab build
$ jupyter labextension install @jupyterlab/github
$ jupyter labextension install @jupyterlab/shortcutui

Other standard packages

$ pip install numpy pandas scipy matplotlib seaborn statsmodels

Launch

$ jupyter lab

Save requirements file

$ pip freeze > requirements.txt

Recommended Posts

JupyterLab Basic Setup for Data Analysis (pip)
JupyterLab Basic Setting 2 (pip) for data analysis
Organizing basic procedures for data analysis and statistical processing (4)
Python for Data Analysis Chapter 4
Organizing basic procedures for data analysis and statistical processing (2)
Python for Data Analysis Chapter 2
Tips for data analysis ・ Notes
Python for Data Analysis Chapter 3
Data analysis for improving POG 3-Regression analysis-
Python visualization tool for data analysis work
Analysis for Data Scientists: Qiita Self-Article Summary 2020
Data analysis for improving POG 2 ~ Analysis with jupyter notebook ~
Prepare a programming language environment for data analysis
Data analysis Titanic 2
Analysis for Data Scientists: Qiita Self-Article Summary 2020 (Practice)
[CovsirPhy] COVID-19 Python Package for Data Analysis: Data loading
Data analysis python
An introduction to statistical modeling for data analysis
How to use data analysis tools for beginners
Data analysis Titanic 1
Data analysis Titanic 3
Data analysis for improving POG 1 ~ Web scraping with Python ~
[For beginners] How to study Python3 data analysis exam
Analysis of measurement data ①-Memorandum of understanding for scipy fitting-
[CovsirPhy] COVID-19 Python package for data analysis: SIR-F model
Python Exercise for Beginners # 1 [Basic Data Types / If Statements]
[CovsirPhy] COVID-19 Python package for data analysis: S-R trend analysis
Stop thinking for use in data analysis competition LightGBM
[CovsirPhy] COVID-19 Python Package for Data Analysis: SIR model
[CovsirPhy] COVID-19 Python Package for Data Analysis: Parameter estimation
Data analysis using xarray
Data analysis parts collection
Folder structure for analysis
Data analysis using Python 0
Data analysis overview python
FX_tool for Hython Basic02
Source analysis for Django--INSTALLED_APPS
Python data analysis template
Data analysis with Python
[CovsirPhy] COVID-19 Python Package for Data Analysis: Scenario Analysis (Parameter Comparison)
Dockerfile for creating a data science environment based on pip3
[Understand in the shortest time] Python basics for data analysis
Which should I study, R or Python, for data analysis?
<Python> Build a dedicated server for Jupyter Notebook data analysis
Introduction to Statistical Modeling for Data Analysis GLM Model Selection