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(pl.Int64, 2))
>>> s.arr.max()
shape: (2,)
Series: 'a' [i64]
[
    2
    4
]