I am working with some historical data on fiscal transfers in Canada. The downloaded data is in the format of fiscal year i.e.
Year Quebec Alberta
1980-1981 2000 4000
1981-1982 3000 6000
I am using the pandas library. However, when I try to make any visualizations using either matplot or sns, it generates an error either not recognizing 'Year' as a numerical value or ('DataFrame' object has no attribute 'Year'). However, when I change the values in the csv to a single year i.e.
Year Quebec Alberta
1980 2000 4000
1981 3000 6000
it works perfectly fine. Is there a way for Python to treat fiscal year values like 1980-1981 the same as normal year. Any advice would be much appreciated.