I worked now for quite some time using python and pandas for analysing a set of hourly data and find it quite nice (Coming from Matlab.)
Now I am kind of stuck. I cr
In upcoming pandas 0.8.0, you'll be able to write
hour = ts.index.hour selector = ((10 <= hour) & (hour <= 13)) | ((20 <= hour) & (hour <= 23)) data = ts[selector]