init(frame:columnName:timeUnit:)
Creates a row grouping from a column with date or time elements.
Declaration
init<D>(frame: D, columnName: String, timeUnit: Calendar.Component) where GroupingKey == Int, D : DataFrameProtocolParameters
- frame:
A data frame type.
- columnName:
The name of the column that stores a row’s date and time information.
- timeUnit:
A calendar component that tells the row grouping how to create its groups.