So I have a column that reads as such. There are 12 values for each year. This continues from 2002 to 2022. The task that I am challenged with is how to make these appear like below. How would I do such a transformation?
col_name
2002mq1m1
2002mq1m2
2002mq1m3
2002mq2m1
2002mq2m2
2002mq2m3
......
2002mq4m3
2002m1
2002m2
2002m3
2002m4
2002m5
2002m6
.....
2002m12
2003m1