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

Method open_bytes

python/pyarrow/tests/test_csv.py:1595–1596  ·  view source on GitHub ↗
(self, b, **kwargs)

Source from the content-addressed store, hash-verified

1593 return open_csv(csv, *args, **kwargs)
1594
1595 def open_bytes(self, b, **kwargs):
1596 return self.open_csv(pa.py_buffer(b), **kwargs)
1597
1598 def check_reader(self, reader, expected_schema, expected_data):
1599 assert reader.schema == expected_schema

Callers 15

read_bytesMethod · 0.95
test_headerMethod · 0.95
test_inferenceMethod · 0.95
test_invalid_csvMethod · 0.95
test_empty_fileMethod · 0.95
test_column_optionsMethod · 0.95
test_encodingMethod · 0.95
test_small_random_csvMethod · 0.95

Calls 1

open_csvMethod · 0.95

Tested by

no test coverage detected