polars.Series.arr.max#

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

计算子数组的最大值。

示例

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