Sha256: c9045d5a19598e952a7cd93086dabb4a3ceeddbdcea20f67969f6ee599102016

Contents?: true

Size: 542 Bytes

Versions: 8

Compression:

Stored size: 542 Bytes

Contents

contexts:
  - gems:
      red_amber: 0.2.2
  - name: HEAD
    prelude: |
      $LOAD_PATH.unshift(File.expand_path('lib'))
      require 'red_amber'

prelude: |
  require 'rover'
  require 'datasets-arrow'
  ds = Datasets::Penguins.new
  df = RedAmber::DataFrame.new(ds)
  rover = Rover::DataFrame.new(df.to_h)
  group_keys = [:species, :island]
  summary_key = :body_mass_g

benchmark:
  'penguins Group by Rover': |
    rover.group(group_keys).mean(summary_key)

  'penguins Group by RedAmber': |
    df.group(group_keys).mean(summary_key)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
red_amber-0.5.2 benchmark/rover/penguins.yml
red_amber-0.5.1 benchmark/rover/penguins.yml
red_amber-0.5.0 benchmark/rover/penguins.yml
red_amber-0.4.2 benchmark/rover/penguins.yml
red_amber-0.4.1 benchmark/rover/penguins.yml
red_amber-0.4.0 benchmark/rover/penguins.yml
red_amber-0.3.0 benchmark/rover/penguins.yml
red_amber-0.2.3 benchmark/rover/penguins.yml