using timestamp in slicer pandas code example
Example 1: how to slice dataframe by timestamp
df30m.loc[(df30m.Timestamp <= d0) & (df30m.Timestamp >= d1)]
Example 2: how to slice dataframe by timestamp
df.set_index('Timestamp', inplace=True)
df[d1:d0]