Skip to content

Commit

Permalink
Backport PR pandas-dev#56891: DOC: Add deprecated markers for downcas…
Browse files Browse the repository at this point in the history
…t keyword
  • Loading branch information
phofl authored and meeseeksmachine committed Jan 15, 2024
1 parent b9dd271 commit b61191b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7187,6 +7187,8 @@ def fillna(
or the string 'infer' which will try to downcast to an appropriate
equal type (e.g. float64 to int64 if possible).
.. deprecated:: 2.2.0
Returns
-------
{klass} or None
Expand Down Expand Up @@ -7522,6 +7524,8 @@ def ffill(
or the string 'infer' which will try to downcast to an appropriate
equal type (e.g. float64 to int64 if possible).
.. deprecated:: 2.2.0
Returns
-------
{klass} or None
Expand Down Expand Up @@ -7713,6 +7717,8 @@ def bfill(
or the string 'infer' which will try to downcast to an appropriate
equal type (e.g. float64 to int64 if possible).
.. deprecated:: 2.2.0
Returns
-------
{klass} or None
Expand Down

0 comments on commit b61191b

Please sign in to comment.