GroupByOptions#
- public class GroupByOptions#
Options for groupby (see cudf::groupby::groupby’s constructor).
Field Summary
Method Summary
Static Fields
- public static GroupByOptions DEFAULT#
- public static class Builder#
Method Summary
If true, the cudf groupby will ignore grouping keys that are null.
If keysSorted == true, indicates whether each column is ascending/descending.
If keysSorted == true, indicates the ordering of null values in each column.
Indicates whether rows in keys are already sorted.
Methods
- public Builder withIgnoreNullKeys(boolean ignoreNullKeys)#
If true, the cudf groupby will ignore grouping keys that are null.
The default value is false, so a null in the grouping column will produce a group.
- public Builder withKeysSorted(boolean keysSorted)#
Indicates whether rows in
keysare already sorted.The default value is false.
If the
keysare already sorted, better performance may be achieved by passingkeysSorted == trueand indicating the ascending/descending order of each column and null order by callingwithKeysDescendingandwithKeysNullSmallest, respectively.
- public Builder withKeysDescending(boolean... keysDescending)#
If
keysSorted == true, indicates whether each column is ascending/descending.If empty or null, assumes all columns are ascending. Ignored if
keysSorted == false.
- public Builder withKeysNullSmallest(boolean... keysNullSmallest)#
If
keysSorted == true, indicates the ordering of null values in each column.If empty or null, assumes all columns use ‘null smallest’. Ignored if
keysSorted == false.
- public GroupByOptions build()#