mean of a column pandas

df["Column"].mean()

Here is what the above code is Doing:
1. We’re creating a new dataframe called df_mean.
2. We’re adding a new column to df_mean called “Mean”.
3. We’re setting the values of the “Mean” column to the mean of the “Column” column in df.
4. We’re printing out the first 5 rows of df_mean.