I would like to retain the '1min' resolution of data, and return a subset of the df where the date matches one of the three in the indexer
import pandas as pd
import numpy as np
df=pd.DataFrame(index=pd.date_range("2013-10-08 00:00:00","2015-10-08 00:00:00", freq="1min",tz='UTC'))
df['data']=np.random.random_integers(0,1,len(df))
indexer=["2013-12-24","2014-01-16","2015-02-19"]
The following doesn't work:
df.loc[pd.DatetimeIndex(indexer)]