turicreate.aggregate.
MAX
Builtin maximum aggregator for groupby
Example: Get the maximum rating of each user.
>>> sf.groupby("user", ... {'rating_max':tc.aggregate.MAX('rating')})