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

Method open_input_file

python/pyarrow/fs.py:412–418  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

410 return PythonFile(self.fs.open(path, mode="rb"), mode="r")
411
412 def open_input_file(self, path):
413 from pyarrow import PythonFile
414
415 if not self.fs.isfile(path):
416 raise FileNotFoundError(path)
417
418 return PythonFile(self.fs.open(path, mode="rb"), mode="r")
419
420 def open_output_stream(self, path, metadata):
421 from pyarrow import PythonFile

Callers 2

test_open_input_fileMethod · 0.45
read_tableFunction · 0.45

Calls 2

PythonFileClass · 0.90
openMethod · 0.45

Tested by 1

test_open_input_fileMethod · 0.36