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

Add test for checking inconsistencies for large series using Series.rmod #50665

Merged
merged 4 commits into from
Jan 11, 2023

Conversation

tabeak
Copy link
Contributor

@tabeak tabeak commented Jan 10, 2023

@phofl phofl added the Sprints Sprint Pull Requests label Jan 10, 2023
@phofl phofl added the Numeric Operations Arithmetic, Comparison, and Logical operations label Jan 11, 2023
@phofl phofl added this to the 2.0 milestone Jan 11, 2023
@phofl phofl merged commit d00b945 into pandas-dev:main Jan 11, 2023
@phofl
Copy link
Member

phofl commented Jan 11, 2023

thx @tabeak

def test_rmod_consistent_large_series():
# GH 29602
result = Series([2] * 10001).rmod(-1)
expected = Series([1] * 10001)
Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Numeric Operations Arithmetic, Comparison, and Logical operations Sprints Sprint Pull Requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Series.rmod called with scalar returns inconsistent results based on size of series
3 participants