Skip to content

Commit 7704689

Browse files
authored
DOC: Add replace & map to See Also section (#52207)
1 parent e629612 commit 7704689

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

pandas/core/frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -9907,6 +9907,7 @@ def applymap(
99079907
See Also
99089908
--------
99099909
DataFrame.apply : Apply a function along input axis of DataFrame.
9910+
DataFrame.replace: Replace values given in `to_replace` with `value`.
99109911
99119912
Examples
99129913
--------

pandas/core/series.py

+1
Original file line numberDiff line numberDiff line change
@@ -4246,6 +4246,7 @@ def map(
42464246
See Also
42474247
--------
42484248
Series.apply : For applying more complex functions on a Series.
4249+
Series.replace: Replace values given in `to_replace` with `value`.
42494250
DataFrame.apply : Apply a function row-/column-wise.
42504251
DataFrame.applymap : Apply a function elementwise on a whole DataFrame.
42514252

pandas/core/shared_docs.py

+2
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@
599599
--------
600600
{klass}.fillna : Fill NA values.
601601
{klass}.where : Replace values based on boolean condition.
602+
DataFrame.applymap: Apply a function to a Dataframe elementwise.
603+
Series.map: Map values of Series according to an input mapping or function.
602604
Series.str.replace : Simple string replacement.
603605
604606
Notes

0 commit comments

Comments
 (0)