numpy.RankWarning

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.