I would like to calculate the mean value of each column without specifying all the columns name.
So for example instead of doing:
res = df.select([mean('col1'), mean('col2')])
I would like to do something equivalent to:
res = df.select([mean('*')])
Is that possible?