group_by method
Contents
[
Hide
]group_by(self, interval, new_field)
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(self, custom_group_items, new_field)
Custom group the field.
Returns
False means this field could not be grouped by date time.
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(self, start, end, interval, new_field)
Group the file by number.
Returns
False means this field could not be grouped by date time.
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(self, start, end, groups, interval, first_as_new_field)
Group the file by the date group types.
Returns
False means this field could not be grouped by date time.
def group_by(self, start, end, groups, interval, first_as_new_field):
...
| Parameter | Type | Description |
|---|---|---|
| start | System.DateTime | The start datetime |
| end | System.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