I have a Pandas Dataframe of the format as shown below:
Month Count
2021-02 100
2021-03 200
Where the "Month" column is obtained from a timestamp using dt.to_period('M').
Now I have to convert this "Month" column to a fiscal quarter and I have used some approaches to convert the Period to a "datetime" object using "to_timestamp", but I get the error
TypeError: unsupported Type Int64Index
Is there another way to approach this problem?