Series.diff()
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
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
登录查看完整内容