Python3 Data Science Foundation

Source: Internet
Author: User
Tags jupyter jupyter notebook

Chapter I.

1. Anaconda (the most famous Python data science platform)

Let's start with the Anaconda.

What is Anaconda????

Reply:

(1), Scientific computing platform

(2), there are a lot of convenient bags for us to use

(3), cross-platform: Mac \linux\windows

(4), most importantly: Open source free of charge and community for small friends to exchange

2, Installation Anaconda

: https://mirror.tuna.tsinghua.edu.cn/help/anaconda/(We go to Tsinghua's domestic mirror download faster) "Google search Anaconda Tsinghua can"- Because Google is not open at home now but there are ways, such as we have a foreign server, hey!

Small partners find the corresponding system version download (my 64-bit is the next 64-bit version)

Start Aanconda Install package basic all the way to the default (last line card scratch)

Open Terminal:
Input: Conda (no error stating successful installation)

3. Anaconda Environment and package management (similar to PIP operations)

(1) Creating a new Environment:conda Create--name python35 python=3.5 (that is, creating a python35 version of the development environment named python3.5)

(2) Activating environment:activate python35 # Windows environment: Source activate python35 #Linux or Mac Environment

(3) Launch environment:deactivate python35 # WinDOS Environment: Source deactivate python35 #Linux or Mac Environment

(4) Remove Environment:conda remove--name python35--all

(1) Installing a package Conda Install + package name

(2) View installed packages: Conda list/view installed packages for the specified environment: Conda list-n python35

(3) Delete package: Conda remove-n python35 + package Name

4, from Ipython notebook (powerful interactive shell) to Jupyter notebook (enhanced version ipython \ Open source free Web application)

Working principle:

5, the use of Jupyter notebook

Start terminal input: Jupyter notebook to open

Click on the right of the new icon below there are options general select Python3 to enter the Python3 interactive environment

Small partners can start jupyter notebook in a specific directory

Here's how:

For example, I set up a folder called Jupyter Notebook working directory on the local D drive.

Start the terminal: (Cut to D-plate) D:--CD Jupyter Notebook working directory--jupyter Notebook

Add: Small partners Edit finish can export the specified format file method as follows:

Python3 Data Science Foundation

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.