turicreate.aggregate.MAX

turicreate.aggregate.MAX(src_column)

Builtin maximum aggregator for groupby

Example: Get the maximum rating of each user.

>>> sf.groupby("user",
...            {'rating_max':tc.aggregate.MAX('rating')})