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")