Datetime in the format "M1,D1,H1" (January 1st, 1.00 am)
df.insert(0, 'time', [dt.datetime(self.MODEL_YEAR, 1, 1, 0) + dt.timedelta(hours=int(x))
                                      for x in df['hour'].values])
I want a column in a dataframe including datetime in the format "M1,D1,H1" (January 1st, 1.00 am). I have a dataframe of the size with 8760 elements. How do I populate it?