Skip to content

Commit 1185281

Browse files
committed
revert PR 21249
1 parent 805739e commit 1185281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,8 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
16901690
defaults to 'ascii' on Python 2 and 'utf-8' on Python 3.
16911691
compression : string, optional
16921692
A string representing the compression to use in the output file.
1693-
Allowed values are 'gzip', 'bz2', 'zip', 'xz'.
1693+
Allowed values are 'gzip', 'bz2', 'zip', 'xz'. This input is only
1694+
used when the first argument is a filename.
16941695
line_terminator : string, default ``'\n'``
16951696
The newline character or character sequence to use in the output
16961697
file

0 commit comments

Comments
 (0)