diff --git a/pandas/core/frame.py b/pandas/core/frame.py index bef7022a7d10f..53cd9c6476c75 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9913,6 +9913,7 @@ def applymap( See Also -------- DataFrame.apply : Apply a function along input axis of DataFrame. + DataFrame.replace: Replace values given in `to_replace` with `value`. Examples -------- diff --git a/pandas/core/series.py b/pandas/core/series.py index 06c744c3e36fa..cc4ec4cf23683 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -4247,6 +4247,7 @@ def map( See Also -------- Series.apply : For applying more complex functions on a Series. + Series.replace: Replace values given in `to_replace` with `value`. DataFrame.apply : Apply a function row-/column-wise. DataFrame.applymap : Apply a function elementwise on a whole DataFrame. diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 4297aa0f20fc9..f421ba448c97a 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -599,6 +599,8 @@ -------- {klass}.fillna : Fill NA values. {klass}.where : Replace values based on boolean condition. + DataFrame.applymap: Apply a function to a Dataframe elementwise. + Series.map: Map values of Series according to an input mapping or function. Series.str.replace : Simple string replacement. Notes