polars.Series.list.get#
- Series.list.get(index: int | Series | list[int]) Series[source]#
Get the value by index in the sublists.
So index
0would return the first item of every sublist and index-1would return the last item of every sublist if an index is out of bounds, it will return aNone.- Parameters:
- index
Index to return per sublist