How do you plot a bar chart without aggregation? I have two columns, one contains values and the other is categorical, but I want to plot each row individually, without aggregation.
By default, sns.barplot(x = "col1", y = "col2", data = df)
will aggregate by taking the mean of the values for each category in col1
.
How do I simply just plot a bar for each row in my dataframe with no aggregation?
col2
againstcol1
, how do you handle repeated labels incol1
? - Quang Hoang