Skip to content

Commit 1e5b5c5

Browse files
committed
minor doc update
1 parent 0cdbfc3 commit 1e5b5c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/core/frame.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9782,6 +9782,10 @@ def map(
97829782
"""
97839783
Apply a function to a Dataframe elementwise.
97849784
9785+
.. versionadded:: 2.1.0
9786+
9787+
DataFrame.applymap was deprecated and renamed to DataFrame.map.
9788+
97859789
This method applies a function that accepts and returns a scalar
97869790
to every element of a DataFrame.
97879791
@@ -9809,6 +9813,8 @@ def map(
98099813
--------
98109814
DataFrame.apply : Apply a function along input axis of DataFrame.
98119815
DataFrame.replace: Replace values given in `to_replace` with `value`.
9816+
DataFrame.applymap : Apply a function elementwise on a DataFrame (deprecated).
9817+
Series.map : Apply a function elementwise on a Series.
98129818
98139819
Examples
98149820
--------

0 commit comments

Comments
 (0)