'Python pandas dataframe's plot (Closed)

i've finishing a plot from a .csv and looks like this: My plot

I am hoping to see like this:

Finished plot

I've got 1 problems

1: How do i rename the x-axis to each set? (I've tried to rename my original data but I failed)



Solution 1:[1]


Use `xticks`

plt.xticks((0, 1, 2, 3), ('Problem 1','Problem 2','Problem 3','Problem 4'))

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ML_Enthu