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