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

An overview of the Pandas package

Pandas is a Python package that supports fast, flexible, and expressive data structures, as well as computing functions for data analysis. The following are some prominent features that Pandas supports:

  • Data structure with labeled axes. This makes the program clean and clear and avoids common errors from misaligned data.
  • Flexible handling of missing data.
  • Intelligent label-based slicing, fancy indexing, and subset creation of large datasets.
  • Powerful arithmetic operations and statistical computations on a custom axis via axis label.
  • Robust input and output support for loading or saving data from and to files, databases, or HDF5 format.

Related to Pandas installation, we recommend an easy way, that is to install it as a part of Anaconda, a cross-platform distribution for data analysis and scientific computing. You can refer to the reference at http://docs.continuum.io/anaconda/ to download and install the library.

After installation, we can use it like other Python packages. Firstly, we have to import the following packages at the beginning of the program:

>>> import pandas as pd
>>> import numpy as np
主站蜘蛛池模板: 彰武县| 武川县| 获嘉县| 英吉沙县| 平舆县| 丁青县| 阿拉善右旗| 鹤庆县| 五寨县| 内丘县| 平利县| 海口市| 璧山县| 泰安市| 灵璧县| 大方县| 剑川县| 重庆市| 株洲县| 沿河| 麻阳| 普定县| 涿鹿县| 靖远县| 祁连县| 佛坪县| 科尔| 金秀| 德兴市| 江门市| 南宁市| 阿拉善盟| 武乡县| 山丹县| 苏州市| 邯郸县| 汉川市| 六枝特区| 孝昌县| 睢宁县| 白城市|