DOC: updated cookbook.rst
BUG: Fix Grouper with multi-level index and frequency (GH7885)