🌈 搜索
📅  最后修改于: 2022-03-11 14:45:37.732000             🧑  作者: Mango
from pyspark.sql import functions as F df.groupBy("Profession").agg(F.mean('Age'), F.count('Age')).show()