Below are the Pandas DataFrame statistical methods with their description:
Method | Description | Example |
---|---|---|
describe | This method returns a small table with descriptive statistics |
|
count | This method returns the number of non-NaN items |
|
mad | This method calculates the mean absolute deviation, which is a robust measure similar to the standard deviation |
|
median | This method returns the median. This is equivalent to the value at the 50th percentile |
|
min | This method returns the lowest value |
|
max | This method returns the highest value |
|
mode | This method returns the mode, which is the most frequently occurring value |
|
std | This method returns the standard deviation, which measures dispersion. It is the square root of the variance |
|
var | This method returns the variance |
|
skew | This method returns skewness. Skewness is indicative of the distribution symmetry |
|
kurt | This method returns kurtosis. Kurtosis is indicative of the distribution shape |
|