We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cdbfc3 commit 1e5b5c5Copy full SHA for 1e5b5c5
pandas/core/frame.py
@@ -9782,6 +9782,10 @@ def map(
9782
"""
9783
Apply a function to a Dataframe elementwise.
9784
9785
+ .. versionadded:: 2.1.0
9786
+
9787
+ DataFrame.applymap was deprecated and renamed to DataFrame.map.
9788
9789
This method applies a function that accepts and returns a scalar
9790
to every element of a DataFrame.
9791
@@ -9809,6 +9813,8 @@ def map(
9809
9813
--------
9810
9814
DataFrame.apply : Apply a function along input axis of DataFrame.
9811
9815
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.
9812
9818
9819
Examples
9820
0 commit comments