Skip to content

Commit

Permalink
DEPR: Deprecate the convert_dtype param in Series.Apply (#52257)
Browse files Browse the repository at this point in the history
* DEPR: Deprecate param convert_dtype in Series.Apply

* fix StataReader

* fix issue

* Update pandas/core/series.py

Co-authored-by: Matthew Roeschke <[email protected]>

* explain more in warning

---------

Co-authored-by: Matthew Roeschke <[email protected]>
  • Loading branch information
topper-123 and mroeschke committed Apr 1, 2023
1 parent fe857a4 commit f3f2cd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/whatsnew/v2.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Deprecations
- Deprecated parameter ``convert_type`` in :meth:`Series.apply` (:issue:`52140`)
- Deprecated making :meth:`Series.apply` return a :class:`DataFrame` when the passed-in callable returns a :class:`Series` object. In the future this will return a :class:`Series`.
This pattern was very slow and it's recommended to use alternative methods to archive the same goal (:issue:`52116`)
- Deprecated parameter ``convert_type`` in :meth:`Series.apply` (:issue:`52140`)
-

.. ---------------------------------------------------------------------------
Expand Down

0 comments on commit f3f2cd9

Please sign in to comment.