Skip to content

Commit

Permalink
fix nunique (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
osalpekar authored and devin-petersohn committed Oct 16, 2018
1 parent 65d5aca commit 846d2c6
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 @@ -2452,6 +2452,7 @@ def nunique(self, axis=0, dropna=True):
Returns:
nunique : Series
"""
axis = pandas.DataFrame()._get_axis_number(axis) if axis is not None else 0
return self._data_manager.nunique(axis=axis, dropna=dropna)

def pct_change(self, periods=1, fill_method="pad", limit=None, freq=None, **kwargs):
Expand Down

0 comments on commit 846d2c6

Please sign in to comment.