Jupyter (ipython notebook) Installation and getting started tutorial, jupyteripython

Source: Internet
Author: User
Tags jupyter

Jupyter (ipython notebook) Installation and getting started tutorial, jupyteripython
In the near future, you may need to draw some data presentation diagrams for your own data analysis or emergency defense PPT. In the past, you used excel to draw pictures, but there are some limitations in excel drawing, for example, if you want to draw a cumulative histogram, excel will be very troublesome, so we will introduce you to an interactive data analysis tool based on python, ipython notebook.

This article will introduce you to the tutorials on installing and using notebook from scratch. You can talk a lot about the topics that are not detailed.

This article assumes that everyone is a python "". This tutorial is intended for the Windows platform. You can refer to some chapters as needed.

Install python2.7

First download the corresponding python installation file from the python official website, and then follow the installation process

Be sure to select all for Installation

Python Testing

Open the cmd command line interface, enter python, and press enter to see a simple interactive interface.

Input print "hello world" to view the output of hello world.

Press Ctrl + Z and press enter to exit.

Pip Test

Input pip in cmd. The output similar to this shows that pip is correctly installed.

Install VC for Python

Without this, many data analysis packages cannot be installed, because these packages are written in C ++ at the underlying layer. You can download VC for Python from here.

Install the python library for common data analysis
pip install numpypip install pandaspip install matplotlibpip install statsmodels

 

Install ipython notebook

Pip install jupyter

Test ipython notebook

Enter ipython notebook in the command line to automatically jump to the browser. The browser is the directory where the command line is located by default.

 

Now, everything is ready and you can start to do what you want to do.

Easy to use

Create a folder named example, enter the folder in the browser (called jupyter), select the new button on the right, and select Python 2 from the drop-down list.

Then you can start writing python code.

Next we will start to try Data Analysis

Import common databases and configurations for data analysis

 

 

 

Related Article

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.