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

REF: remove libreduction.SeriesGrouper #43505

Merged
merged 1 commit into from
Sep 11, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

cc @bashtage per comment #37468 (comment) I'm taking your word for it that the change this makes in the crosstab test is correct. Does this represent a bugfix?

@@ -811,7 +811,7 @@ def test_categoricals(a_dtype, b_dtype):
a_is_cat = is_categorical_dtype(a.dtype)
assert not a_is_cat or a.value_counts().loc[1] == 0
result = crosstab(a, b, margins=True, dropna=False)
values = [[18, 16, 34], [0, 0, np.nan], [34, 32, 66], [52, 48, 100]]
values = [[18, 16, 34], [0, 0, 0], [34, 32, 66], [52, 48, 100]]
Copy link
Contributor

Choose a reason for hiding this comment

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

may want to add a note for this (i agree that this looks more correct)

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.

awesome!

@jreback jreback added this to the 1.4 milestone Sep 11, 2021
@jreback jreback merged commit f72f566 into pandas-dev:master Sep 11, 2021
@jbrockmendel jbrockmendel deleted the ref-libreduction branch September 11, 2021 01:47
@bashtage
Copy link
Contributor

I agree that this looks like a bug fix too.

@jbrockmendel
Copy link
Member Author

@bashtage can i pawn off the writing of a whatsnew on you? i have zero experience with crosstab

bashtage added a commit to bashtage/pandas that referenced this pull request Sep 13, 2021
@bashtage
Copy link
Contributor

What's new in #43548

jreback pushed a commit that referenced this pull request Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants