I am trying to plot a time series chart using seaborn.lineplot() with string variables on x-axis. My data looks like this :
month_year billamount tips
0 2018-03 200 10
1 2018-04 230 12
2 2018-05 500 10
3 2018-06 300 15
4 2018-07 200 20
5 2018-08 150 5
6 2018-09 100 5
7 2018-10 400 5
8 2018-11 500 10
9 2018-12 250 30
10 2019-01 200 20
in the above table, month_year is a object type(string)
while trying to plot, it shows error message: ValueError: A wide-form input must have only numeric values.
Is there any option to plot with the string values on x-axis using seaborn lineplot.?



sns.lineplot(data=data)data is the above mentioned table.