How to compute the average of a dataframe column
• 1 minHere is the simplest formula to compute the average of a list of variables.
The pandas library has a simple method to compute the mean of a list.
The .mean() method, here is an example:
Here you are ! You now know how to compute the average of a dataframe column.