polars.Series.arr.max#

Series.arr.max() Series[source]#

Compute the max values of the sub-arrays.

Examples

>>> s = pl.Series(
...     "a", [[1, 2], [4, 3]], dtype=pl.Array(width=2, inner=pl.Int64)
... )
>>> s.arr.max()
shape: (2,)
Series: 'a' [i64]
[
    2
    4
]