sum in pandas can concatenate strings #13916
Labels
Bug
Reduction Operations
sum, mean, min, max, etc.
Strings
String extension data type and string data
Uh oh!
There was an error while loading. Please reload this page.
Possibly related: #13912
This looks wrong to me -- probably a bug?
This happens on DataFrames, as well:
Note, of course, that summing strings:
Interestingly, NumPy has the same (buggy?) behavior on
dtype=object
arrays:The text was updated successfully, but these errors were encountered: