What to learn:
The first step: first consider the basic library and Numpy, Pandas and Matplotlib learning. Is estimated to be several months or even longer learning phase, a demo is estimated to be around 30 individuals interested in it.
Step two: after this stage had finished, the next step should be a study of data mining and reptiles , to find some data from the site, then do data visualization and information analysis . Data analysis, that data structures and databases natural and ultimately, C ++ also arranged on it.
Step 3: If the data mining phase has successfully spent the next estimate will take into account the natural language processing NLP and ML, Deep Learning . This would not know a few years later came into contact with, the first arrangement on it. Learn or not learn to see the mood slightly.
What not to learn :( do not spend too much time in the place)
- Web Programming
- network programming
- Project Development
Stage core library
- Numpy
- matplotlib
- pandas
Word cloud aspects
- wordcloud
- jieba
- PIL
Second, install and test environment
Check the pip
pip --version
How to install pip?
sudo apt install python-pip
If the command is pip3 amended as follows: [sudo apt install python3-pip]
If you are installing pip you would like to replace pip3 how to uninstall?
python -m pip uninstall pip
sudo apt-get remove python-pip python-pip
Q: With pip download speed is very slow how to do?
A: pip increase download speed: the use of domestic pip pip mirror source to improve download speed
Domestic Source:
The new ubuntu require the use of https source, to pay attention.
Tsinghua: https://pypi.tuna.tsinghua.edu.cn/simple
Ali cloud: http://mirrors.aliyun.com/pypi/simple/
China University of Science and Technology https://pypi.mirrors.ustc.edu.cn/simple/
Huazhong University of Science: http://pypi.hustunique.com/
Shandong University of Technology: http://pypi.sdutlinux.org/
Watercress: http://pypi.douban.com/simple/
Temporary use: pip install the library name -i mirror address
Such as the use watercress source download numpy
pip install numpy -i http://pypi.douban.com/simple/
Q: How pip command to view the installed library?
pip3 list
Permanent modification (not to consider)
Installation support library
pip install numpy scipy pandas matplotlib
Check whether the installation was successful
3, View Numpy version
python -c "import numpy; print numpy.version.version"
or
python -c "import numpy; print numpy.__version__"
4, see the installation path Numpy
python -c "import numpy; print numpy.__file__"
5. Check SciPy version
python -c "import scipy; print scipy.version.version"
or
python -c "import scipy; print scipy.__version__"
6, see the installation path SciPy
python -c "import scipy; print scipy.__file__"
7, see Matplotlib version
python -c "import matplotlib; print matplotlib.version.version"
or
python -c "import matplotlib; print matplotlib.__version__"
8, see the installation path SciPy
python -c "import matplotlib; print matplotlib.__file__"