I need to make a bar plot of the following DataFrame:
df = pd.DataFrame(
{
"Months": [1, 2, 2, 4],
"Value": ["1000", "2000", "1500", "3200"],
}
)
The goal is to have a bar plot with Months on the x-axis and combined values from Value column on the y-axis (so in this case that would mean that only month 2 will be combined, essentially merging the rows where months are the same).
I also need to convert the numerical months to their text counterparts (so 1 becomes January etc.) and keep them in the correct order on the x-axis (so January would be first, February second and so on).
Thanks in advance.
