Description
The DataFrame provides many functions that show description operations, such as mean, median, and sum, that help you get a feel for the data.
We'll cover the following...
We'll cover the following...
For these functions, the default operations are performed column-wise. If you want to do row-wise operations, you can pass the parameter axis=1 to those functions.
mean
Calculate the mean of column or row. In the code below, there is a function called describe() that gives you mean, count, minimum and maximum values, three quartiles, and the standard deviation. This is very useful when you are in exploratory data analysis.
Line 8 shows what happens when you call ...