Module: RedAmber::DataFrameLoadSave::ClassMethods
- Defined in:
- lib/red_amber/data_frame_loadsave.rb
Overview
Enable ‘self.load` as class method of DataFrame
Instance Method Summary collapse
-
#load(input, format: nil, compression: nil, schema: nil, skip_lines: nil) ⇒ DataFrame
Load DataFrame via Arrow::Table.load.
Instance Method Details
#load(input, format: nil, compression: nil, schema: nil, skip_lines: nil) ⇒ DataFrame
Load DataFrame via Arrow::Table.load.
Format is automatically detected by extension.
55 56 57 |
# File 'lib/red_amber/data_frame_loadsave.rb', line 55 def load(input, **) DataFrame.new(Arrow::Table.load(input, )) end |