Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Series.diff

Series.diff(periods=1)

1st discrete difference of object

Parameters:

periods : int, default 1

Periods to shift for forming difference

Returns:

diffed : Series