Method: Polars::IO#read_ipc
- Defined in:
- lib/polars/io/ipc.rb
permalink #read_ipc(source, columns: nil, n_rows: nil, memory_map: true, storage_options: nil, row_count_name: nil, row_count_offset: 0, rechunk: true) ⇒ DataFrame
Read into a DataFrame from Arrow IPC (Feather v2) file.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/polars/io/ipc.rb', line 27 def read_ipc( source, columns: nil, n_rows: nil, memory_map: true, storage_options: nil, row_count_name: nil, row_count_offset: 0, rechunk: true ) ||= {} _prepare_file_arg(source, **) do |data| _read_ipc_impl( data, columns: columns, n_rows: n_rows, row_count_name: row_count_name, row_count_offset: row_count_offset, rechunk: rechunk, memory_map: memory_map ) end end |