Answers for "turn an array of dates into 30 minute date time"

1

minute range python

import pandas as pd

l = (pd.DataFrame(columns=['NULL'],
                  index=pd.date_range('2016-09-02T17:30:00Z', '2016-09-04T21:00:00Z',
                                      freq='15T'))
       .between_time('07:00','21:00')
       .index.strftime('%Y-%m-%dT%H:%M:%SZ')
       .tolist()
)
Posted by: Guest on July-29-2020

Code answers related to "turn an array of dates into 30 minute date time"

Python Answers by Framework

Browse Popular Code Answers by Language