Published on
· Data Independent

Pandas Mean - Get Average | pd.DataFrame.mean()

This post is auto-generated from a public YouTube video for personal study notes. It is not an endorsement. The transcript is machine-derived and may contain errors; refer to the original video for accuracy.

About this video

You're anything but average! Jokes aside, Pandas Mean is a fundamental function that is in very data scientist, analyst, and data monkey around.

pandas.DataFrame.mean() pandas.Series.mean()

Pandas Mean will return the average of your data across a specified axis. If the function is applied to a DataFrame, pandas will return a series with the mean across an axis.

If .mean() is applied to a Series, then pandas will return a scalar (single number).

Loading transcript…