group_by method
Contents
[
Hide
]group_by
Automatically group the field with internal
def group_by(self, interval, new_field):
...
Parameter | Type | Description |
---|---|---|
interval | float | The internal of group. Automatic value will be assigned if it’s zero, |
new_field | bool | Indicates whether adding a new field to the pivottable. |
group_by
Custom group the field.
def group_by(self, custom_group_items, new_field):
...
Parameter | Type | Description |
---|---|---|
custom_group_items | list | The custom group items. |
new_field | bool | Indicates whether adding a new field to the pivottable |
group_by
Group the file by number.
def group_by(self, start, end, interval, new_field):
...
Parameter | Type | Description |
---|---|---|
start | float | The start value |
end | float | The end of value |
interval | float | The interval |
new_field | bool | Indicates 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):
...
Parameter | Type | Description |
---|---|---|
start | DateTime | The start datetime |
end | DateTime | The end of datetime |
groups | list | Group types |
interval | float | The interval |
first_as_new_field | bool | Indicates whether adding a new field to the pivottable. Only for the first group item. |
See Also
- module
aspose.cells.pivot
- class
PivotField