df_pivot = df_pivot.pivot_table(index = ['income_group'], columns = 'debt', values = 'family_status_id', aggfunc= 'count')
df_pivot['conversion%'] = df_pivot[1] / (df_pivot[0] + df_pivot[1])
print(df_pivot.sort_values(by=['conversion%'],ascending = False).head(10))