counts(order:)
Generates a data frame, that you choose how to sort, with two columns, one that has a row for each group key and another for the number or rows in the group.
Declaration
func counts(order: Order?) -> DataFrameParameters
- order:
A sorting order the method uses to sort the data frame by its count column.
Discussion
The name of the data frame’s column that stores the number of rows in each group is count.