SciPy

numpy.polynomial.polynomial.Polynomial.roots

Polynomial.roots()

Return list of roots.

Return ndarray of roots for this series. See polyroots for full documentation. Note that the accuracy of the roots is likely to decrease the further outside the domain they lie.

See also

polyroots
similar function
polyfromroots
function to go generate series from roots.