numpy.poly1d.order

poly1d.order

The order or degree of the polynomial