bundles / numpy 2.4.3 / numpy / exceptions / ComplexWarning
class
numpy.exceptions:ComplexWarning
source: /numpy/exceptions.py :47
Summary
The warning raised when casting a complex dtype to a real dtype.
Extended Summary
As implemented, casting a complex number to a real discards its imaginary part, but this behavior may not be what the user actually wants.
Aliases
-
numpy.exceptions.ComplexWarning