mapGroups(_:)
Generates a row grouping that applies a transformation closure to each group in the original.
Declaration
func mapGroups(_ transform: (DataFrame.Slice) throws -> DataFrame) rethrows -> SelfParameters
- transform:
A closure that generates a data frame from a data frame slice that represents a group.