📅  最后修改于: 2022-03-11 14:46:35.989000             🧑  作者: Mango
#Aggregate columns based on a specific aggregation metric
#Here we find the mean of column 1 and the median of column 2
df.agg({'columnn_1':'mean', 'column_2': 'median'})