def _getDateList(numSamples, startDatetime):
 dateList = []
 td = datetime.timedelta(minutes=1)
 curDate = (startDatetime + td)
 for _ in range(numSamples):
  dateList.append(curDate)
  curDate = (curDate + td)
 return dateList

def _getDateList ( numSamples , startDatetime ) : dateList = [ ] td = datetime . timedelta ( minutes = 1 ) curDate = ( startDatetime + td ) for _ in range ( numSamples ) : dateList . append ( curDate ) curDate = ( curDate + td ) return dateList
generate a sequence of sample dates starting at startdatetime and incrementing every minute .