Class: Rust::DataFrameHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/rust/core/types/dataframe.rb

Instance Method Summary collapse

Instance Method Details

#bind_allObject



509
510
511
512
513
514
515
516
517
518
519
# File 'lib/rust/core/types/dataframe.rb', line 509

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