Contents

means(_:_:order:)

Generates a data frame that contains the average mean of each group’s rows along a column you select by name.

Declaration

func means<N>(_ columnName: String, _ type: N.Type, order: Order? = nil) -> DataFrame where N : FloatingPoint

Parameters

  • columnName:

    The name of a column.

  • type:

    The type of the column.

  • order:

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

See Also

Aggregating a Row Grouping