You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEPR: Warn about Series.to_csv signature alignment
Warns about aligning Series.to_csv's signature
with that of DataFrame.to_csv's.
In anticipation, we have moved DataFrame.to_csv
to generic.py so that we can later delete the
Series.to_csv implementation, and allow it
to automatically adopt DataFrame's to_csv
due to inheritance.
Closespandas-devgh-19745.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.txt
+1-1
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,7 @@ Deprecations
245
245
- :meth:`DataFrame.to_stata`, :meth:`read_stata`, :class:`StataReader` and :class:`StataWriter` have deprecated the ``encoding`` argument. The encoding of a Stata dta file is determined by the file type and cannot be changed (:issue:`21244`).
246
246
- :meth:`MultiIndex.to_hierarchical` is deprecated and will be removed in a future version (:issue:`21613`)
247
247
- :meth:`Series.ptp` is deprecated. Use ``numpy.ptp`` instead (:issue:`21614`)
248
-
-
248
+
- The signature in :meth:`Series.to_csv` has been deprecated. Please follow the signature in :meth:`DataFrame.to_csv` instead (:issue:`19745`)
0 commit comments