Sha256: a5705a99d5eb65b00f7b3f0ce6f3e1018559493b68f168fc63baaad9df9447fa

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

module Daru
  class DataFrameByVector
    def initialize data_frame
      @data_frame = data_frame
    end

    def [](*names)
      @data_frame[*names, :vector]
    end

    def []=(name, vectors)
      @data_frame[name, :vector] = vectors
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
daru-0.0.3 lib/daru/dataframe_by_vector.rb