DOC: Select row with maximum value from each group

Included is a cookbook recipe for finding maximal rows per group.