Method: Daru::DataFrame#row

Defined in:
lib/daru/dataframe.rb

#rowObject

Access a row or set/create a row. Refer #[] and #[]= docs for details.

Usage

df.row[:a] # access row named ':a'
df.row[:b] = [1,2,3] # set row ':b' to [1,2,3]


445
446
447
# File 'lib/daru/dataframe.rb', line 445

def row
  Daru::Accessors::DataFrameByRow.new(self)
end