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

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.

主站蜘蛛池模板: 子洲县| 璧山县| 东安县| 合作市| 久治县| 江城| 涞水县| 甘洛县| 桐梓县| 双流县| 湘潭市| 启东市| 承德市| 庆城县| 隆子县| 金乡县| 茶陵县| 化德县| 紫金县| 阿城市| 博罗县| 枣强县| 建昌县| 龙里县| 汽车| 中山市| 米易县| 道孚县| 永善县| 甘谷县| 平谷区| 额尔古纳市| 廉江市| 祁连县| 甘肃省| 万宁市| 吴堡县| 江口县| 象州县| 陆良县| 禹州市|