I do have the below code which gives me the quarter from my date column and is working fine.
CODE
order['Qtr'] = pd.to_datetime(order['Order Date']).dt.quarter
OUTPUT
My requirement is i would like to add Q at the beginning of every quarter with the column name as Quarter . I want the output as below.
Required Output
Regards,
Bharath Vikas

