API: rename DataFrame.applymap -> DataFrame.map · Issue #52353 · pandas-dev/pandas (original) (raw)
I propose deprecating DataFrame.applymap
and move its functionality to a new DataFrame.map
method. The name map
will better communicate that this is the DataFrame
equivalent of Series.map
. The current name can IMO be a bit confusing because the name contains both "apply"
and "map"
, while just having "map"
is clearer IMO.
See a discussion on this here.
CC @rhshadrach