In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you the reasons and advantages of choosing python for data analysis, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
1. A large number of python libraries provide a complete set of tools for data analysis.
2. Compared with other languages mainly used for data analysis, such as MATLAB, R language, python language is more functional.
3. The python library is increasing all the time, and the implementation of the algorithm is more innovative.
4. Python can easily interface with other languages, such as c, java, etc.
What is IPython?
IPython is an interactive shell for python (its default python shell is much easier to use and more powerful)
1. Support automatic completion and indentation of code, and already support bash shell
2. Jupyter NoteBook (formerly known as IPython NoteBook), which provides an interface for users to interact with the IPython kernel. At the same time, it is an interactive notebook (which can save your source code and run results), and integrates text (markdown), code, images, formulas and python web interface.
3. Support interactive data visualization and other graphical user interfaces
4. Support high-performance parallel computing
Operation environment
There are many libraries for data analysis and machine learning. These libraries (such as numpy, pandas, sckilearn, TensorFlow, etc.) are troublesome to configure and install separately, and some packages (such as scipy) rely on more libraries. Officials provide an integrated development tool for data analysis and machine learning, that is, anaconda installation: download the latest version on the official website, and install it under windows.
Open:
Way 1. Use commands.
Embed commands with the cmd command line or linux terminal: jupyter notebook will run two programs: IPython's service program and jupyter notebook's web interface, and then the code can be written in the interface
Note] the IPython server is the place where the program runs. Jupyter notebook only provides an interactive interface. If you turn off the IPython server (ctrl+c in the terminal) jupyter notebook is useless.
A few basic operations:
Double-click D: delete the current cell
Click M: convert the current cell to an markdown document
Jupyter construction: consists of cell, each cell execution time does not affect each other, but the data is shared
Mode 2. Open it with anaconda interface.
Mode 3. Open it with pycharm.
[note] the compiler must select the python compiler in the anaconda directory, otherwise the service program of IPython cannot be opened
The above is all the contents of the article "what are the reasons and advantages of choosing python for data analysis". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.