_ensure_numeric does not check for complex numbers #4902
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
_ensure_numeric
frompandas.core.nanops
does not include a check for complex numbers, just converts them to floats.Relevant StackOverflow question that found the bug: python pandas complex number
The text was updated successfully, but these errors were encountered: