group_by method

group_by

Automatically group the field with internal

def group_by(self, interval, new_field):
    ...
ParameterTypeDescription
intervalfloatThe internal of group.
Automatic value will be assigned if it’s zero,
new_fieldboolIndicates whether adding a new field to the pivottable.

group_by

Custom group the field.

def group_by(self, custom_group_items, new_field):
    ...
ParameterTypeDescription
custom_group_itemslistThe custom group items.
new_fieldboolIndicates whether adding a new field to the pivottable

group_by

Group the file by number.

def group_by(self, start, end, interval, new_field):
    ...
ParameterTypeDescription
startfloatThe start value
endfloatThe end of value
intervalfloatThe interval
new_fieldboolIndicates whether adding a new field to the pivottable

group_by

Group the file by the date group types.

def group_by(self, start, end, groups, interval, first_as_new_field):
    ...
ParameterTypeDescription
startDateTimeThe start datetime
endDateTimeThe end of datetime
groupslistGroup types
intervalfloatThe interval
first_as_new_fieldboolIndicates whether adding a new field to the pivottable.
Only for the first group item.

See Also