turicreate.aggregate.
ARGMIN
Builtin arg minimum aggregator for groupby
Example: Get the movie with minimum rating per user.
>>> sf.groupby("user", ... {'best_movie':tc.aggregate.ARGMIN('rating','movie')})