Closed
Description
_ensure_numeric
from pandas.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
_ensure_numeric
from pandas.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