-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
ENH: Adding implementation for issue #51748 #51919
Conversation
rmhowe425
commented
Mar 12, 2023
•
edited
Loading
edited
- closes ENH: Allow dictionaries to be passed to pandas.Series.str.replace #51748 (Replace xxxx with the GitHub issue number)
- Tests added and passed if fixing a bug or adding a new feature
- All code checks passed.
- Added type annotations to new arguments/methods/functions.
- Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
- Adding implementation for issue ENH: Allow dictionaries to be passed to pandas.Series.str.replace #51748 51748
…ng issue in my 2 failing tests.
…n implementation and unit test
Hi @MarcoGorelli, this PR should be good to go now since I have taken care of all 5 tasks. I'm not sure if I should reach out to someone to inspect this PR. |
I'm not sure we should be expanding the API here; I've put some comments in the linked issue. |
@rhshadrach I saw the comments. Should I cancel the PR? |
In this instance, I would recommend closing to take it off the queue until there is some consensus for this feature. We can reopen if we decide to go forward with it. In the meantime, any feedback in the linked issue on why this is worth supporting would help in pushing the discussion forward. |
@rhshadrach In the future, should I avoid tackling enhancement requests with the |
Yes - that would be my recommendation. And I would also extend that to enhancements that do not have a consensus among core developers as to whether they should be added. The pandas API is very large, and we are cautious about making potentially unnecessary additions. |