Skip to content

Add tests for transform sum with series #58012

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

undermyumbrella1
Copy link
Contributor

@undermyumbrella1 undermyumbrella1 commented Mar 26, 2024

expected = DataFrame({"X": [1.0]})
tm.assert_frame_equal(result, expected)

# With labels
Copy link
Member

Choose a reason for hiding this comment

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

Can you turn these comments into separate tests instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Mar 26, 2024
@mroeschke mroeschke added this to the 3.0 milestone Mar 28, 2024
@mroeschke mroeschke merged commit e45057a into pandas-dev:main Mar 28, 2024
46 checks passed
@mroeschke
Copy link
Member

Thanks @undermyumbrella1

pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
* Add tests for transform sum with series

* Refactor to seperate tests

---------

Co-authored-by: Kei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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-transform produces NaN for series keys with as_index=False
2 participants