MCPcopy Create free account
hub / github.com/apache/arrow / csv_load

Method csv_load

ruby/red-arrow/lib/arrow/table-loader.rb:220–232  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

218 end
219
220 def csv_load(options)
221 options.delete(:format)
222 case @input
223 when Buffer
224 CSVLoader.load(@input.data.to_s, **options)
225 when URI
226 @input.open do |input|
227 CSVLoader.load(input.read, **options)
228 end
229 else
230 CSVLoader.load(Pathname.new(@input), **options)
231 end
232 end
233
234 def load_as_csv
235 csv_load(@options.dup)

Callers

nothing calls this directly

Calls 7

deleteMethod · 0.45
loadMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45
openMethod · 0.45
readMethod · 0.45
newMethod · 0.45

Tested by

no test coverage detected