Data analysis using Python (ix) Pandas summary statistics and calculations

Source: Internet
Author: User

The Pandas object has some common mathematical and statistical methods. For example, the sum () method, which makes the column subtotal: the sum () method passed in Axis=1 is specified as a horizontal summary, which is subtotal: Idxmax () gets the index of the maximum value: There is also a rollup that is cumulative, cumsum (), compared to it and Su The difference between M ():
The unique () method is used to return only values in the data: the Value_counts () method is used to count how often each value appears: the Isin () method is used to determine membership:

The installation steps have been written in the first essay, not here. Data analysis using Python (i) Brief introduction
The next essay is: Data analysis using Python (10) Pandas processing missing data, interested friends Welcome to pay attention to this blog, but also welcome you to add comments to discuss.

Data analysis using Python (ix) Pandas summary statistics and calculations

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.