NumPy
ufunc
numpy.exceptions
numpy.fft
numpy.linalg
numpy.random
numpy.testing
numpy.typing
numpy.distutils
exceptions.ComplexWarning
The warning raised when casting a complex dtype to a real dtype.
As implemented, casting a complex number to a real discards its imaginary part, but this behavior may not be what the user actually wants.
previous
Exceptions and Warnings (numpy.exceptions)
next
numpy.exceptions.VisibleDeprecationWarning