polars.Series.list.first# Series.list.first() → Series[source]# 获取子列表的第一个值。 示例 >>> s = pl.Series("a", [[3, 2, 1], [], [1, 2]]) >>> s.list.first() shape: (3,) Series: 'a' [i64] [ 3 null 1 ]