-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: rename DataFrame.applymap -> DataFrame.map #52353
Comments
take |
Hi @TeoSkondras. Thanks for wanting take take this, but I've made a branch already that is about to be ready to push to the pandas repository, so maybe not a good use of time to make a second pull requests on this. |
If this gets picked up pls ping me, since Styler.applymap would probably be better off remaining synchronised. |
I've already made a PR (#52364) on this. Seem logical that the styler method has the same name as the frame method. I will ping you when this is merged no problem. |
I propose deprecating
DataFrame.applymap
and move its functionality to a newDataFrame.map
method. The namemap
will better communicate that this is theDataFrame
equivalent ofSeries.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
The text was updated successfully, but these errors were encountered: