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

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.

主站蜘蛛池模板: 石河子市| 乌什县| 太康县| 龙州县| 潜江市| 永吉县| 长武县| 响水县| 漯河市| 武宣县| 六枝特区| 永和县| 荣昌县| 施秉县| 沿河| 乌兰浩特市| 崇义县| 安陆市| 罗江县| 施秉县| 平果县| 金寨县| 墨脱县| 安吉县| 伊宁市| 乐昌市| 南皮县| 沙湾县| 凤阳县| 图们市| 兴文县| 峨边| 长子县| 隆林| 吉安市| 光山县| 常宁市| 华容县| 孟州市| 缙云县| 崇义县|