I have a dataframe with the accuracy results of different ML models.
In the columns I have the different ML models, and in the rows I have the results of the accuracy of these ML models after different experiments.
Something like this:
I want to print a barplot in which I can see in the x axis the different ML models, in the y axis the results of accuracy, and inside every ML model in x axis, different bars for every row in the dataframe.
My logic says that it should be something as follows:
sns.barplot(data=df, x=df.columns, y=???, hue=df.index)
How do I indicate that in the y axis? I want to show the different values of rows.