How do I find the duration of an event for a Pandas time series,aapl.groupby((aapl.sign.diff() != 0).cumsum()).size()