Statistics with pandas DataFrames
The pandas DataFrame
has a dozen statistical methods. The following table lists these methods along with a short description:
Method |
Description |
---|---|
|
This method returns a small table with descriptive statistics. |
|
This method returns the number of non-NaN items. |
|
This method calculates the mean absolute deviation, which is a robust measure similar to the standard deviation. |
|
This method returns the median. This is equivalent to the value at the 50th percentile. |
|
This method returns the lowest value. |
|
This method returns the highest value. |
|
This method returns the mode, which is the most frequently occurring value. |
|
This method returns the standard deviation, which measures dispersion. It is the square root of the variance. |
|
This method returns the variance. |
|
This method returns skewness. Skewness is indicative of the distribution symmetry. |
|
This method returns kurtosis... |