home: true title: Pandas documentation meta:

  • name: keywords content: pandas documentation, pandas api,pandas Manual, pandas tutorial, pandas download and installation, pandas
  • name: description content: Pandas, Python Data Analysis Library. heroImage: https://static.pypandas.cn/site/logo.png actionText: Get Started → actionLink: /guide/ footer: Attribution-NonCommercial-ShareAlike 3.0 China Mainland (CC BY-NC-SA 3.0 CN) | Copyright © 2019-present Zhi Bing

What is pandas?

Pandas is a powerful tool set for analyzing structured data; it is based on Numpy (which provides high-performance matrix operations); it is used for data mining and data analysis, as well as data cleaning capabilities.

Feature: DataFrame

DataFrame is a tabular data structure in Pandas, which contains a set of ordered columns, each of which can be a different value type (value, string, Boolean, etc.), DataFrame has both row index and column index, and can be regarded as a dictionary made up of Series.

Feature: Series

It is an object similar to a one-dimensional array, consisting of a set of data (various NumPy data types) and a set of related data tags (that is, indexes). Simple Series objects can also be generated from a single set of data.

As Easy as 1, 2, 3

  1. # 1. Installation package
  2. $ pip install pandas
  3. # 2. Enter the interactive interface of python
  4. $ python -i
  5. # 3. Using Pandas
  6. >>> import pandas as pd
  7. >>> df = pd.DataFrame()
  8. >>> print(df)
  9. # 4. Output result
  10. Empty DataFrame
  11. Columns: []
  12. Index: []

Contact information

  • 📮Email: l@numpy.org.cn
  • 📩WeChat: iamnotahacker(If you want to join our group)

::: warning NOTE

Change the world from Python.

This site is recommended to use Python 3.x and above.

:::

Brothers