Skip to content
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

CLN: Separate transform tests #36146

Merged
merged 2 commits into from
Sep 6, 2020
Merged

Conversation

rhshadrach
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Setup for #35964. There were two tests that are accidental duplicates; I've just copied them over to the transform modules. Will cleanup in #35964.

@jreback jreback added Apply Apply, Aggregate, Transform, Map Numeric Operations Arithmetic, Comparison, and Logical operations Testing pandas testing functions or related to the test suite and removed Numeric Operations Arithmetic, Comparison, and Logical operations labels Sep 5, 2020
@jreback jreback added this to the 1.2 milestone Sep 5, 2020
result = float_frame.transform(np.sqrt, axis=axis)
tm.assert_frame_equal(result, expected)

# list-like
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comments in other PR, ideally these cases are separate tests (or parameterized but that might be harder), (but can certainly be a followon PR)

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge on green

@jreback jreback merged commit 9083281 into pandas-dev:master Sep 6, 2020
@jreback
Copy link
Contributor

jreback commented Sep 6, 2020

thanks @rhshadrach

jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Sep 8, 2020
@rhshadrach rhshadrach deleted the transform_tests branch September 10, 2020 00:07
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
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