QST: Integer floordiv by nullable integer series containing zero #39847
Labels
Duplicate Report
Duplicate issue or pull request
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Numeric Operations
Arithmetic, Comparison, and Logical operations
I have searched the [pandas] tag on StackOverflow for similar questions.
I have asked my usage related question on StackOverflow.
Question about pandas
Hello Pandas, while working on cuDF binops, I noticed this edge case:
I'm not 100% sure what the right behavior here is, but we're thinking it's maybe to raise. I was wondering if anyone on the pandas side had thought about this and has strong feelings about what the answer should be here. For standard division, casting to float and returning
inf
seems sensible. But with floor division the point is to return an int.Thanks so much for any thoughts.
The text was updated successfully, but these errors were encountered: