📅  最后修改于: 2022-03-11 14:45:33.034000             🧑  作者: Mango
# credit to the Stack Overflow user in source link
# vector is the label of a column containing fixed - size numpy (np) array
df.groupby('your_label')['vector'].apply(np.mean)