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:2017–2019 ·
view source on GitHub ↗
(self, path, contents)
Source
from the content-addressed store, hash-verified
2015
csv_filename =
"compressed.csv.gz"
2016
2017
def
write_file(self, path, contents):
2018
with
gzip.open(path,
'wb'
, 3)
as
f:
2019
f.write(contents)
2020
2021
def
test_concatenated(self):
2022
# ARROW-5974
Callers
nothing calls this directly
Calls
2
open
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected