python standardize time series code example Example: Slicing time series subts = TS.loc['2015-09-26':'2015-09-27']