"Data analysis using Python" reading notes--fifth Chapter pandas Introduction

Source: Internet
Author: User

Pandas is the preferred library for subsequent content in this book. The pandas can meet the following requirements:

    • Data structure with automatic or explicit data alignment by axis. This prevents many common errors caused by data misalignment and data from different data sources (indexed differently).
    • Integrated time series capabilities
    • Data structures that can handle time series data as well as non-time series
    • Mathematical operations and simplicity (such as summing an axis) can be performed according to different metadata (axis number)
    • Flexible handling of missing data
    • Merge and other relational operations that appear in common databases, such as SQL-based

Pandas Data Structure Introduction

Two data structures: series and dataframe. A series is an object that is similar to a numpy array, which consists of a set of data (various numpy data types) and a set of data labels (that is, indexes) associated with it. Indexes and values can be specified by index and value, respectively. If you do not specify an index, 0 to N-1 indexes are created automatically.

Data analysis using Python-Reading notes-fifth Chapter pandas introduction

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.