numpy.polynomial.polynomial.Polynomial.deriv

method

polynomial.polynomial.Polynomial.deriv(m=1)[source]

Differentiate.

Return a series instance of that is the derivative of the current series.

Parameters
mnon-negative int

Find the derivative of order m.

Returns
new_seriesseries

A new series representing the derivative. The domain is the same as the domain of the differentiated series.