NumPy

Previous topic

numpy.polynomial.polynomial.Polynomial.degree

Next topic

numpy.polynomial.polynomial.Polynomial.fit

numpy.polynomial.polynomial.Polynomial.deriv

method

Polynomial.deriv(self, 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.