Skip to content

Commit f0d17ae

Browse files
committed
Add preserve complex to to_csv
1 parent 7bffeb6 commit f0d17ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/io/formats/format.py

+1
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,7 @@ def to_csv(
970970
escapechar: str | None = None,
971971
errors: str = "strict",
972972
storage_options: StorageOptions | None = None,
973+
preserve_complex: bool = False,
973974
) -> str | None:
974975
"""
975976
Render dataframe as comma-separated file.

0 commit comments

Comments
 (0)