I have datetime index
import pandas as pd sample = [\'2021-01-19 15:55:00-05:00\', \'2021-01-19 15:56:00-05:00\', \'2021-01-19 15:56:00-05:00\