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

Method write_file

python/pyarrow/tests/test_csv.py:2038–2040  ·  view source on GitHub ↗
(self, path, contents)

Source from the content-addressed store, hash-verified

2036 csv_filename = "compressed.csv.bz2"
2037
2038 def write_file(self, path, contents):
2039 with bz2.BZ2File(path, 'w') as f:
2040 f.write(contents)
2041
2042
2043def test_read_csv_does_not_close_passed_file_handles():

Callers 1

test_random_csvMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected