Method: Polars::ArrayNameSpace#to_list

Defined in:
lib/polars/array_name_space.rb

#to_listSeries

Convert an Array column into a List column with the same inner data type.

Examples:

s = Polars::Series.new([[1, 2], [3, 4]], dtype: Polars::Array.new(Polars::Int8, 2))
s.arr.to_list
# =>
# shape: (2,)
# Series: '' [list[i8]]
# [
#         [1, 2]
#         [3, 4]
# ]


209
210
211
# File 'lib/polars/array_name_space.rb', line 209

def to_list
  super
end