Sha256: 7e923308fb1cbca2f217f850e61516bbe572a5e07770833e9ba722791c999620
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
module Daru module Accessors class DataFrameByRow def initialize data_frame @data_frame = data_frame end def [](*names) @data_frame[*names, :row] end def []=(*names, vector) @data_frame[*names, :row] = vector end def at *positions @data_frame.row_at(*positions) end def set_at positions, vector @data_frame.set_row_at(positions, vector) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems