Skip to content

Commit

Permalink
Fixed diff (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamma12 authored and devin-petersohn committed Oct 8, 2018
1 parent fde358c commit 68f2f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modin/pandas/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,7 @@ def diff(self, periods=1, axis=0):
Returns:
DataFrame with the diff applied
"""
axis = pandas.DataFrame()._get_axis_number(axis)
return DataFrame(
data_manager=self._data_manager.diff(periods=periods, axis=axis)
)
Expand Down

0 comments on commit 68f2f59

Please sign in to comment.