Contents

sums(_:order:)

Generates a data frame that contains the sum of each group’s rows along a column you select by column identifier.

Declaration

func sums<N>(_ columnID: ColumnID<N>, order: Order? = nil) -> DataFrame where N : AdditiveArithmetic, N : Comparable

Parameters

  • columnID:

    A column identifier.

  • order:

    A sorting order the method uses to sort the data frame by its sum column.

See Also

Aggregating a Row Grouping