I have a pyspark dataset in which there's one column named as numerical data. I calculated this dataset from somewhere else. Example:
 Numerical_fields| Age | Height | Weight 
Now, I need to calculate mean for each value in this column.
For this I tried Looping, for i in df.collect():
how can I get the mean?
 
     
    