you can look in tseries/tests/test_resample.py for an example to borrow (the data from)