Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Aug 15, 2023
1 parent 70c589f commit 5cad6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/dataframe/io/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ def to_csv(
first_file = open_file(filename, mode=mode, **file_options)
value = to_csv_chunk(dfs[0], first_file, **kwargs)
append_mode = mode if "a" in mode else mode + "a"
append_mode = mode.replace("w", "").replace("x", "")
append_mode = append_mode.replace("w", "").replace("x", "")
append_file = open_file(filename, mode=append_mode, **file_options)
kwargs["header"] = False
for d in dfs[1:]:
Expand Down

0 comments on commit 5cad6ed

Please sign in to comment.