NumPy

Previous topic

numpy.polysub

Next topic

Random sampling (numpy.random)

This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).

numpy.RankWarning

exception numpy.RankWarning[source]

Issued by polyfit when the Vandermonde matrix is rank deficient.

For more information, a way to suppress the warning, and an example of RankWarning being issued, see polyfit.