Skip to content

Commit cc56a05

Browse files
committed
Fix duplicated carriage return on to_csv for Windows environment.
1 parent f4fe5a3 commit cc56a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/s3/_write_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _to_text(
4444
s3_additional_kwargs=s3_additional_kwargs,
4545
boto3_session=boto3_session,
4646
encoding=encoding,
47-
newline=None,
47+
newline="",
4848
) as f:
4949
_logger.debug("pandas_kwargs: %s", pandas_kwargs)
5050
if file_format == "csv":

0 commit comments

Comments
 (0)