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