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