Sha256: 1d5ef40cf51c9e82c772382150e501b44ca5910c9af8226b3d0b2acb472a69fb

Contents?: true

Size: 184 Bytes

Versions: 8

Compression:

Stored size: 184 Bytes

Contents

require_relative '_base'

n = 40_000
keys = (1..(n)).to_a

df = Daru::DataFrame.new(idx: 1.upto(n).to_a, keys: 1.upto(n).map { |v| keys[Random.rand(n)]})

__profile__ do
  df.to_a
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
daru-0.3 profile/df_to_a.rb
daru-0.2.2 profile/df_to_a.rb
daru-0.2.1 profile/df_to_a.rb
daru-0.2.0 profile/df_to_a.rb
daru-0.1.6 profile/df_to_a.rb
daru-0.1.5 profile/df_to_a.rb
daru-0.1.4.1 profile/df_to_a.rb
daru-0.1.4 profile/df_to_a.rb