in [ ]ts series(np arange(len(rng)dtype=float)index=rngin [ ]ts out[ ] : : : : : : : : : : : : : : : : length indexing with python datetime time object will extract values at those timesin [ ]from datetime import time in [ ]ts[time( )out[ ] : : : : : : : : under the hoodthis uses an instance method at_time (available on individual time series and dataframe objects alike)in [ ]ts at_time(time( )out[ ] : : : : : : : : you can select values between two times using the related between_time methodin [ ]ts between_time(time( )time( )out[ ] : : : : : : : : : : : : : : : : as mentioned aboveit might be the case that no data actually fall exactly at time like ambut you might want to know the last known value at amset most of the time series randomly to na in [ ]indexer np sort(np random permutation(len(ts))[ :]data munging topics www it-ebooks info