Open Jolanrensen opened 5 months ago
Other missing functions include size()
, drop()
, first()
etc.
Maybe we could make it an AnyFrame
or a DataColumn/BaseColumn<GroupedDataRow>
interestingly .filter {}
runs on a GroupedRowFilter<T, G>
, where T
is the original DF type. This allows type-safe access to all key columns, but also to all non-key columns which don't exist in the GroupBy object, causing Exceptions... This might need a slight redesign.
interestingly
.filter {}
runs on aGroupedRowFilter<T, G>
, whereT
is the original DF type. This allows type-safe access to all key columns, but also to all non-key columns which don't exist in the GroupBy object, causing Exceptions... This might need a slight redesign.
Currently, we can't do:
to only concatenate the values of the first 10 groups. Instead, we'll have to convert to a normal DF first and convert back:
The only row-based function that's available is
filter(GroupedRowFilter)
which can allow you to write.filter { it.index() <= 10 }
but seems a bit odd.