python data analysis necessary artifact: Anaconda

Anaconda and Jupyter notebook has become the standard for environmental data analysis.

Briefly, the package manager is Anaconda and environment manager, Jupyter notebook code data can be analyzed, all combinations of images and documents to a web document.

Next, I described in detail under the Anaconda, and gives Jupyter notebook in the last:

What 1.Anaconda that?

2. How to install?

3. How Management Pack?

4.Jupyter notebook how to quickly get started?

But I need to emphasize in before the start of the following steps you follow to personally knock again and practice on their own computers. Although the following you will encounter a lot of command, gave everyone can not remember. But do not be afraid, do not give up halfway, because you do not need to remember the command, because when you learn after the data analysis is more naturally remember.

Remember it does not matter, learn where to find it. You just need to follow the next steps above, and understand each step is doing it. Later encountered things to do and forget to check the document back on it.

Beginning the process of learning as in this diagram, just do not give up halfway, their actual operation again, I guarantee that you can skillfully use.

What 1.Anaconda that?

Anaconda is a "snake" in English, spicy chicken (Nicki Minaj Nicki Minaj) a song called "Anaconda", expressed as python as sexy voluptuous body.

All you see the icon below Anaconda finishing each other like a bite of "python."

You may have installed Python, then why do you need Anaconda? There are three reasons:

1) Anaconda comes with a large number of commonly used scientific data packet, it comes with conda, Python and more than 150 scientific packages and their dependencies. So you can immediately begin processing the data.

2) Management Pack

Anaconda is developed in conda (a package manager and environmental manager).

In the data analysis, you will use a lot of third-party packages, but conda (Package Manager) can be a good help you install and manage these packages on the computer, including installation, uninstall, and update packages.

3) Environmental management

Why the need to manage the environment?

A project such as you used in the Python 2, but the new boss B project requires the use of Python 3, Python and install two versions can cause a lot of confusion and error. This time conda can help you build a different operating environment for different projects.

There are different versions of many packages used by the project, such as different versions of pandas, it is impossible to install two Numpy version, you should do is to create an environment for each Numpy version, then the corresponding environment project work. This time conda can help you do it.

2. How to install Anaconda?

Anaconda can be used for multiple platforms (Windows, Mac OS X and Linux). You can find the setup and installation instructions on the following address. Depending on your operating system is 32-bit or 64-bit version to select the corresponding download.

(Anaconda no longer support Windows XP; while viewing their computer is 32-bit or 64-bit, do not install the wrong.)

If the official website address can not download speed is too slow, I can from the public number: chat monkey character, in reply to "material" downloaded from the network disk

If the official website address can not download speed is too slow, you can (talk monkey characters) Number dialog box in my reply to the public "information" to obtain network disk address, find the installation package from the following path

Download the file Anaconda relatively large (about 500 MB), Python because it comes with the most commonly used scientific data packets.

If you already have Python installed on your computer, the installation will not have any effect on you. In fact, the default Python scripts and programs using the Anaconda came with Python.

Note: If you are a windows 10 system, pay attention when installing software Anaconda, right click and select Run as administrator to install the software →.

After the installation is complete, if you are operating on the windows, according to the following chart to open the Anaconda Prompt (or terminal under the Mac), later I will Anaconda Prompt collectively referred to as "terminal."

Note: If you are a windows 10 system, the following figure operation

Win10 If the system does not operate as described above, will be reported later in the following error message:

Conda list can type in a terminal or command prompt to see what you have installed.

如果安装后,在Anaconda Prompt中都无法使用Conda命令,可以搜(猴子:Python管理包工具anaconda安装过程常见问题解决办法​)​

如果Anaconda Prompt中可以使用conda命令,接着下面继续操作。

为了避免后面使用报错,你需要先更新下所有包。在终端输入更新所有包的命令:

conda upgrade    --all

并在提示是否更新的时候输入 y(Yes)让更新继续。初次安装下的软件包版本一般都比较老旧,因此提前更新可以避免未来不必要的问题。

3. 如何管理包?

安装了 Anaconda 之后,就可以很方便的管理包了(安装,卸载,更新)。

1)安装或者更新包

按下图点击菜单栏,打开Anaconda Navigator

然后在Anaconda Navigator中按下图操作安装包

图片中第5步,‘clear’表示删除已经安装的包

2)列出已安装的包

按照上面的步骤你亲自操作一遍后,你已经学会了Anaconda,并安装好你的数据分析Pyhton环境了,接下来你就可以愉快的使用Jupyter notebook来做数据分析了,在学习Python的过程中,往往因为没有资料或者没人指导从而导致自己不想学下去了,因此姐姐我特意准备了个群 592539176 ,群里有大量的PDF书籍、教程都给大家免费使用!不管是学习到哪个阶段的小伙伴都可以获取到自己相对应的资料!

Guess you like

Origin www.cnblogs.com/qingdeng123/p/11782439.html