📅  最后修改于: 2022-03-11 14:57:25.059000             🧑  作者: Mango
g =sns.barplot(x='',y='survived',data=groupedvalues)
for index, row in groupedvalues.iterrows():
g.text(row.name,row.survived, round(row.survived,2), color='black', ha="center")