Skip to content

Commit fa92ece

Browse files
authored
DOC: corrected statement about compression support for file objects in to_csv (#35615)
1 parent 47c17cb commit fa92ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ def to_csv(
30883088
30893089
.. versionchanged:: 1.2.0
30903090
3091-
Compression is supported for non-binary file objects.
3091+
Compression is supported for binary file objects.
30923092
30933093
quoting : optional constant from csv module
30943094
Defaults to csv.QUOTE_MINIMAL. If you have set a `float_format`

0 commit comments

Comments
 (0)