Sha256: 4a4073287278d71318566335fe7df90748cf9071d9758e393c8ed2d2f830cf39

Contents?: true

Size: 246 Bytes

Versions: 7

Compression:

Stored size: 246 Bytes

Contents

prelude: |
  require 'datasets-arrow'
  require 'red_amber'

  penguins = RedAmber::DataFrame.new(Datasets::Penguins.new.to_arrow)

  def drop_nil(penguins)
    penguins.remove { vectors.map { |v| v.is_nil} }
  end

benchmark: drop_nil(penguins)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
red_amber-0.2.2 benchmark/drop_nil.yml
red_amber-0.2.1 benchmark/drop_nil.yml
red_amber-0.2.0 benchmark/drop_nil.yml
red_amber-0.1.8 benchmark/drop_nil.yml
red_amber-0.1.7 benchmark/drop_nil.yml
red_amber-0.1.6 benchmark/drop_nil.yml
red_amber-0.1.5 benchmark/drop_nil.yml