DOC: add resample + groupby to cookbook