Contents

counts(order:)

Generates a data frame with two columns, one that has a row for each group key and another for the number of rows in the group.

Declaration

func counts(order: Order? = nil) -> 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