Module: Arrow::ArrayComputable

Included in:
Array, ChunkedArray
Defined in:
lib/arrow/array-computable.rb

Instance Method Summary collapse

Instance Method Details

#max(options: nil) ⇒ Object



24
25
26
# File 'lib/arrow/array-computable.rb', line 24

def max(options: nil)
  compute("max", options: options).value
end

#min(options: nil) ⇒ Object



20
21
22
# File 'lib/arrow/array-computable.rb', line 20

def min(options: nil)
  compute("min", options: options).value
end

#uniqObject



28
29
30
# File 'lib/arrow/array-computable.rb', line 28

def uniq
  unique.values
end