larray.Axis.max

Axis.max() Union[bool, int, float, str, bytes, generic][source]

Get maximum of labels.

Returns
label

Label with maximum value.

Warning

Fails on non-numeric labels.

Examples

>>> time = Axis('time=1991..2020')
>>> time.max()
2020