-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: misplaced reduction/indexing tests #33307
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
Conversation
@@ -1274,3 +1274,28 @@ def test_series_broadcasting(self): | |||
df_nan.clip(lower=s, axis=0) | |||
for op in ["lt", "le", "gt", "ge", "eq", "ne"]: | |||
getattr(df, op)(s_nan, axis=0) | |||
|
|||
|
|||
class TestDataFrameReductions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also a tests/reductions/
directory with a lot of min/max tests. What is the general idea here of what kind of reductions tests should be placed where?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests.reduction is analogous to tests.arithmetic, intended for tests that are shared across classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, you put the series ones in test_reductions.py I think these should be in a similar one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yah considered that, but for frame test_analytics contains most of the reduction tests. i think the thing to do is get non-reduction tests out of there and then rename to test_reduction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk fair, keep in mind
No description provided.