Cómo agregar múltiples columnas en Pyspark
df.groupBy("year", "sex").agg(avg("percent"), count("*"))
macarrony00
df.groupBy("year", "sex").agg(avg("percent"), count("*"))