DataFrame division returns infinity for 0 / 0 #8445
Labels
API Design
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
xref #9286
0 / 0 does not have a value, and should return NaN, not infinity.
numpy does this correctly:
The text was updated successfully, but these errors were encountered: