numpy.poly1d.order

property

property poly1d.order

The order or degree of the polynomial