group method

group(self)

Automatically group the field.


def group(self):
    ...

Remarks

If the field only contains blank and date time, the field will be grouped by Months. If the field only contains blank and number, the field will be grouped by number. Else only returns false without any group.

See Also