calculate mean in dataframe column python code example Example: mean of a column pandas df["Column"].mean()