Python

Juptyer Notebook

What is Juptyer Notebook?

Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text. It is widely used for data cleaning, transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

Jupyter Notebook supports over 40 programming languages, including Python, R, Julia, and Scala. It is an essential tool for data scientists, researchers, and educators who want to create interactive and reproducible data analysis workflows.


Installation

> pip install jupyter

Configuration

> jupyter notebook --generate-config
> nano ~/.jupyter/jupyter_notebook_config.py

将 c.ServerApp.ip 修改为目标服务器的 IP 地址

c.ServerApp.local_hostnames = ['xxxxxxxx.xxx']
c.ServerApp.ip = 'xxx.xxx.xxx.xxx'

Start

jupyter notebook
Previous
Conda