Method: Polars::ArrayNameSpace#explode

Defined in:
lib/polars/array_name_space.rb

#explodeSeries

Returns a column with a separate row for every array element.

Examples:

s = Polars::Series.new("a", [[1, 2, 3], [4, 5, 6]], dtype: Polars::Array.new(Polars::Int64, 3))
s.arr.explode
# =>
# shape: (6,)
# Series: 'a' [i64]
# [
#         1
#         2
#         3
#         4
#         5
#         6
# ]

Returns:


374
375
376
# File 'lib/polars/array_name_space.rb', line 374

def explode
  super
end