pandas définissent comment vous souhaitez agréger chaque colonne

#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'})
M.U