Method: Polars::ArrayNameSpace#all

Defined in:
lib/polars/array_name_space.rb

#allSeries

Evaluate whether all boolean values are true for every subarray.

Examples:

s = Polars::Series.new(
  [[true, true], [false, true], [false, false], [nil, nil], nil],
  dtype: Polars::Array.new(Polars::Boolean, 2)
)
s.arr.all
# =>
# shape: (5,)
# Series: '' [bool]
# [
#         true
#         false
#         false
#         true
#         null
# ]

Returns:


167
168
169
# File 'lib/polars/array_name_space.rb', line 167

def all
  super
end