Skip to content

TST: Add test inconsistency in group by (#44803) #45509

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
merged 3 commits into from
Jan 23, 2022

Conversation

NumberPiOso
Copy link
Contributor

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Jan 20, 2022
@NumberPiOso
Copy link
Contributor Author

The code fails one test, but the test it's named pytest (actions-310-numpydev.yaml, not slow and not network, xclip, deprecate, -W error).

Can someone help me with the error?

@mroeschke
Copy link
Member

The failure is unrelated. Could you merge main again?

@NumberPiOso
Copy link
Contributor Author

Done !

@jreback jreback added this to the 1.5 milestone Jan 23, 2022
@jreback jreback merged commit 94fbed6 into pandas-dev:main Jan 23, 2022
@jreback
Copy link
Contributor

jreback commented Jan 23, 2022

thanks @NumberPiOso

@@ -32,6 +32,20 @@
from pandas.core.groupby.base import maybe_normalize_deprecated_kernels


def test_group_by_copy():
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm actually should be in pandas/tests/groupby/test_apply_mutate.py

@NumberPiOso if you wouldn't mind doing a PR to move this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! , PR#45578

@NumberPiOso NumberPiOso deleted the tst-df-incosistency-groupby branch January 23, 2022 22:41
NumberPiOso added a commit to NumberPiOso/pandas that referenced this pull request Jan 23, 2022
NumberPiOso added a commit to NumberPiOso/pandas that referenced this pull request Jan 23, 2022
Pending tasks from pandas-dev#45509
In line with issue pandas-dev#44803

Change test_groupby_copy from
`pandas/tests/groupby/test_groupby.py`
to `pandas/tests/groupby/test_apply_mutate.py`
mroeschke pushed a commit that referenced this pull request Jan 24, 2022
Pending tasks from #45509
In line with issue #44803

Change test_groupby_copy from
`pandas/tests/groupby/test_groupby.py`
to `pandas/tests/groupby/test_apply_mutate.py`
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Pending tasks from pandas-dev#45509
In line with issue pandas-dev#44803

Change test_groupby_copy from
`pandas/tests/groupby/test_groupby.py`
to `pandas/tests/groupby/test_apply_mutate.py`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: groupby.apply() inconsistently indexes its return value with the groupby-cols
3 participants