Method: Polars::ArrayNameSpace#arg_min

Defined in:
lib/polars/array_name_space.rb

#arg_minSeries

Retrieve the index of the minimal value in every sub-array.

Examples:

s = Polars::Series.new("a", [[3, 2, 1], [9, 1, 2]], dtype: Polars::Array.new(Polars::Int64, 3))
s.arr.arg_min
# =>
# shape: (2,)
# Series: 'a' [u32]
# [
#         2
#         1
# ]

Returns:


236
237
238
# File 'lib/polars/array_name_space.rb', line 236

def arg_min
  super
end