polars.Series.to_list#

Series.to_list() list[Any][source]#

Convert this Series to a Python list.

This operation copies data.

Examples

>>> s = pl.Series("a", [1, 2, 3])
>>> s.to_list()
[1, 2, 3]
>>> type(s.to_list())
<class 'list'>