官术网_书友最值得收藏!

Installing pandas, Pillow, NLTK, and matplotlib

pandas is an open source library that provides data structures and analysis tools for Python. pandas is a powerful library, and several books describe how to use pandas for data analysis. We will use a few of pandas's convenient tools for importing data and calculating summary statistics. Pillow is a fork of the Python Imaging Library, which provides a variety of image processing features. NLTK is a library for working with human language. As for scikit-learn, pip is the preferred installation method for pandas, Pillow, and NLTK. Execute the following command in a terminal emulator:

$ pip install pandas pillow nltk

Matplotlib is a library for easily creating plots, histograms, and other charts with Python. We will use it to visualize training data and models. Matplotlib has several dependencies. Like pandas, matplotlib depends on NumPy, which should already be installed. On Ubuntu 16.04, matplotlib and its dependencies can be installed with:

$ sudo apt install python-matplotlib  

Binaries for Mac OS and Windows 10 can be downloaded from http://matplotlib.org/downloads.html.

主站蜘蛛池模板: 方山县| 昆山市| 梅河口市| 穆棱市| 巴林右旗| 英超| 博罗县| 大安市| 琼结县| 光山县| 察哈| 昌邑市| 聂荣县| 来安县| 炉霍县| 霍城县| 习水县| 普兰店市| 平安县| 探索| 延庆县| 陈巴尔虎旗| 聂荣县| 石首市| 玛曲县| 阿瓦提县| 开原市| 垦利县| 深州市| 湾仔区| 稷山县| 高碑店市| 隆德县| 凤翔县| 民勤县| 九龙坡区| 田林县| 修水县| 荔浦县| 荥阳市| 万安县|