Jupter-notebook initial experience

Source: Internet
Author: User

Anaconda comes with notebook, which is essentially a web application. Its purpose is to clean up and convert data, visualize data, machine learning, and support real-time code.

1. Modify the default working directory

1. Enter jupyter-Notebook -- generate-config In the CMD window.

Obtain the path of the notebook configuration file.

2. Open the configuration file (enter the path and press Enter)

3. Find C. notebookapp. notebook_dir.

Remove the note # and change it to the desired path. Note that for windows, the slash \ is used, for Linux, The backslash/

4. The window user also needs to modify the attribute path of the shortcut.

Right-click desktop shortcut-> Properties (if the desktop does not exist, find notebook in the Start menu and right-click to open the file ). Remove % USERPROFILE % from the target box and click OK. Restart to go to your own directory

 

II.Use

1. Open the display workspace, create a new Python file, or click to open a file and edit it.

2. There are four areas: file name, toolbar, shortcut key, and editing area.

File Name: Click to change directly

Toolbar:

File: new, checkpoint, download

Edit: Copy, paste, delete, merge, and move the cell area

View: View display

Insert: insert Cell

Kernel: Python environment (Version)

Shortcut Key: Save, add cell, copy, cut, move cell, run

Editing area: cell and Output

 

Jupter-notebook initial experience

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.