I am working with an external data source and I am trying to get Quaterstart(QS) frequency for a particular data field. I am providing a dummy data and code below. I am gettinng the following error when I run this Can someone please help me understand what’s happening here? ps: The data given here is dummy data and not the
Tag: datetimeoffset
Using pandas dateoffset and step forward num_years (given by a column)
I have a dataframe with column of datetime “Date_Begin”. I have another column “Years_to_add”. I want to calculate a third column with the “DateBegin” stepped forward by the number of years in the “years_to_add” column. I want to avoid using approximations like 365.25 in a year. I want simply add the number of years in a calendar sense (I know