Contents

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?) -> DataFrame

Parameters

  • 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.

See Also

Aggregating a Row Grouping