how to slice a dataframe having date field as index?,df.index = pd.to_datetime(df['TRX_DATE'])