The poly1d functions are considered outdated but are retained for backward compatibility. New software needing polynomials should use the classes in the Polynomial Package.
numpy.piecewise
Polynomial Package (numpy.polynomial)
Enter search terms or a module, class or function name.