Skip to content

Commit

Permalink
fix: correct skip.header value to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jaidisido committed Sep 30, 2024
1 parent 2bba683 commit 5fa31fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awswrangler/s3/_write_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def to_csv( # noqa: PLR0912,PLR0915
"catalog_table_input": catalog_table_input,
"catalog_id": catalog_id,
"compression": pandas_kwargs.get("compression"),
"skip_header_line_count": True if header else None,
"skip_header_line_count": 1 if header else None,
"serde_library": None,
"serde_parameters": None,
}
Expand Down

0 comments on commit 5fa31fb

Please sign in to comment.