Class: Rust::DataFrameArray

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

Instance Method Summary collapse

Methods inherited from Array

#distance, #distribution, #to_R

Instance Method Details

#bind_allObject



495
496
497
498
499
500
501
502
503
504
505
# File 'lib/rust/core/types/dataframe.rb', line 495

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