Class: Rust::DataFrameArray

Inherits:
Array show all
Defined in:
lib/rust/core/types/dataframe.rb

Overview

Represents an array of DataFrame

Instance Method Summary collapse

Methods inherited from Array

#_rust_prob_distance, #distribution, #to_R

Instance Method Details

#bind_allObject

Returns a data-frame with the rows in all the data-frames together (if compatible).



701
702
703
704
705
706
707
708
709
710
711
# File 'lib/rust/core/types/dataframe.rb', line 701

def bind_all
    return nil if self.size == 0
    
    result = self.first.clone
    
    for i in 1...self.size
        result .bind_rows!(self[i])
    end
    
    return result
end