Mean of each column in a DataFrame?

mean.(eachcol(df))

the mean is also reported when you do describe(df) alongside some other summary stats

3 Likes