turicreate.aggregate.COUNT

turicreate.aggregate.COUNT()

Builtin count aggregator for groupby

Example: Get the number of occurrences of each user.

>>> sf.groupby("user",
...            {'count':tc.aggregate.COUNT()})