Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ write_file
Method
write_file
python/pyarrow/tests/test_csv.py:2037–2039 ·
view source on GitHub ↗
(self, path, contents)
Source
from the content-addressed store, hash-verified
2035
csv_filename =
"compressed.csv.bz2"
2036
2037
def
write_file(self, path, contents):
2038
with
bz2.BZ2File(path,
'w'
)
as
f:
2039
f.write(contents)
2040
2041
2042
def
test_read_csv_does_not_close_passed_file_handles():
Callers
1
test_random_csv
Method · 0.45
Calls
1
write
Method · 0.45
Tested by
no test coverage detected