I have a dataframe with two useful columns 1) fiscal year, 2) date. I want to add a new column which shows the fiscal quarter.
FYI - UK Financial year runs from 1 April to 31 March
my data looks like:
    fiscal year  date
    FY15/16      2015-11-01
    FY14/15      2014-10-01
    FY15/16      2016-02-01
I want it to look like this:
    fiscal year  date        Quarter
    FY15/16      2015-11-01  q3
    FY14/15      2014-10-01  q3
    FY15/16      2016-02-01  q4
Really hope I got the quarters right!
Code below works but I believe it returns American financial quarters but I want UK.
df['Quater'] = df['Date'].dt.quarter 
				
                        
yields
The default quarterly frequency
Qis equivalent toQ-DEC.Q-DECspecifies quarterly periods whose last quarter ends on the last day in December.Q-MARspecifies quarterly periods whose last quarter ends on the last day in March.