how to dynamically perform aggregation on all columns in a data frame even when some columns have different types like int , double string datetime or float in pyspark (i have 140-200 columns and need to perform aggregation/avg on each column)

STummala
New Contributor

need to aggregate all the numerical columns but need to this dynamically