Calculate the mean by column

Perhaps share a reproducible example of your dataset?