DOC: corrected cookbook.rst example on reversing timeseries