Method: Daru::DataFrame#shape

Defined in:
lib/daru/dataframe.rb

#shapeObject

Return the number of rows and columns of the DataFrame in an Array.



1321
1322
1323
# File 'lib/daru/dataframe.rb', line 1321

def shape
  [nrows, ncols]
end