Skip to content

Commit 167968a

Browse files
committed
DOC: clarify that previous default value was False
1 parent a570f3c commit 167968a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3814,8 +3814,8 @@ def to_csv(self, *args, **kwargs):
38143814
if kwargs.get("header", None) is None:
38153815
warnings.warn("The signature of `Series.to_csv` was aligned "
38163816
"to that of `DataFrame.to_csv`, and argument "
3817-
"'header' will change its default value to "
3818-
"True: please pass an explicit value to suppress "
3817+
"'header' will change its default value from False "
3818+
"to True: please pass an explicit value to suppress "
38193819
"this warning.", warning_klass,
38203820
stacklevel=stack_level)
38213821
kwargs["header"] = False # Backwards compatibility.

0 commit comments

Comments
 (0)