-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
BugNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operations
Milestone
Description
exposed this bug; going to update the tests (and i'll link there that show it)
initially only showed up on py2.6...but it is real
the signs of the inf under integer division are wrong.
for the most part the np.nan are preserved, not sure if this is right or not
In [1]: Series([np.nan,1,-1])/0
Out[1]:
0 inf
1 inf
2 inf
dtype: float64
In [2]: Series([np.nan,1,-1])/0.
Out[2]:
0 NaN
1 inf
2 -inf
dtype: float64
Metadata
Metadata
Assignees
Labels
BugNumeric OperationsArithmetic, Comparison, and Logical operationsArithmetic, Comparison, and Logical operations