role = DMGC_combined_df[\'Primary Role\'] wins = DMGC_combined_df[\'wins\'] plt.bar(role,wins) plt.xlabel("Primary Role") plt.ylabel("Wins")