Skip to content

TST: move DataFrame.applymap tests to tests/frame/methods/test_map.py #52402

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

Merged

Conversation

topper-123
Copy link
Contributor

Currently the tests for DataFrame.applymap are mixed together with the tests for DataFrame.apply. Keeping them separate makes it easier to find tests for one method so I've moved the applymap ones to tests/frame/methods/test_map.py.

Note there is also a proposal to rename DataFrame.applymap to DataFrame.map (#52364). The one who gets merged later of this PR or 52364 will need to be rebased.

xref #52384.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Apply Apply, Aggregate, Transform, Map labels Apr 7, 2023
@mroeschke mroeschke added this to the 2.1 milestone Apr 7, 2023
@mroeschke mroeschke merged commit 92f837f into pandas-dev:main Apr 7, 2023
@mroeschke
Copy link
Member

Thanks @topper-123

@topper-123 topper-123 deleted the move_dataframe_applymap_tests branch April 7, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants