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