Class: Rust::DataFrameArray

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

Instance Method Summary collapse

Methods inherited from Array

#distance, #distribution, #to_R

Instance Method Details

#bind_allObject



666
667
668
669
670
671
672
673
674
675
676
# File 'lib/rust-core.rb', line 666

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