Skip to content

Commit 5e66ee2

Browse files
committed
revert PR 21249
1 parent 1185281 commit 5e66ee2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/series.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3790,7 +3790,8 @@ def to_csv(self, path=None, index=True, sep=",", na_rep='',
37903790
non-ascii, for python versions prior to 3
37913791
compression : string, optional
37923792
A string representing the compression to use in the output file.
3793-
Allowed values are 'gzip', 'bz2', 'zip', 'xz'.
3793+
Allowed values are 'gzip', 'bz2', 'zip', 'xz'. This input is only
3794+
used when the first argument is a filename.
37943795
date_format: string, default None
37953796
Format string for datetime objects.
37963797
decimal: string, default '.'

0 commit comments

Comments
 (0)