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

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.

主站蜘蛛池模板: 新民市| 冕宁县| 南康市| 米脂县| 女性| 平湖市| 柏乡县| 若羌县| 老河口市| 阳西县| 眉山市| 宁阳县| 怀柔区| 天柱县| 进贤县| 股票| 韶关市| 宣武区| 南靖县| 百色市| 武清区| 万盛区| 任丘市| 吉安市| 疏附县| 绥宁县| 肃南| 资中县| 交口县| 长丰县| 稷山县| 疏附县| 南漳县| 铜陵市| 玛曲县| 吉木萨尔县| 湘乡市| 南和县| 合阳县| 清苑县| 灌阳县|