Return a Timestream with a new grouping by key.
key
key (Arg)
The new key to use for the grouping.
grouping (Optional[str], default: None)
None
A string literal naming the new grouping. If no grouping is specified,
grouping
one will be computed from the type of the key.