Sha256: a0e46e10669415cfaebf8fc552282758ce97537df3fbfb389198f6c1cf7ca3d4

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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