BUG: Series.__mod__ behaves different with >1e4 rows #36047
Labels
Bug
Numeric Operations
Arithmetic, Comparison, and Logical operations
Regression
Functionality that used to work in a prior pandas version
Milestone
[√] I have checked that this issue has not already been reported.
[√] I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Gives
-2
2
Problem description
According to basic python module operations and previous versions of pandas, the module operation should always give a non-negative value, but when a Series larger than 10000 rows, the negative value module array operation gives a negative value.
Expected Output
2
2
Output of
pd.show_versions()
1.1.1
The text was updated successfully, but these errors were encountered: