Skip to content

Commit

Permalink
Fixing ascii error for Python2 (ray-project#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-petersohn authored and robertnishihara committed May 7, 2018
1 parent 1f82a46 commit b1e32ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ray/dataframe/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2967,7 +2967,7 @@ def nunique(self, axis=0, dropna=True):
observations over requested axis.
Args:
axis : {0 or index, 1 or columns}, default 0
axis : {0 or 'index', 1 or 'columns'}, default 0
dropna : boolean, default True
Returns:
Expand Down Expand Up @@ -3228,7 +3228,7 @@ def rank(self, axis=0, method='average', numeric_only=None,
Args:
axis (int): 0 or 'index' for row-wise,
1 or 'columns' for column-wise
interpolation: {average’, ‘min’, ‘max’, ‘first’, ‘dense}
interpolation: {'average', 'min', 'max', 'first', 'dense'}
Specifies which method to use for equal vals
numeric_only (boolean)
Include only float, int, boolean data.
Expand Down Expand Up @@ -3539,7 +3539,7 @@ def sample(self, n=None, frac=None, replace=False, weights=None,
Default = 1 if frac = None.
frac: Fraction of axis items to return. Cannot be used with n.
replace: Sample with or without replacement. Default = False.
weights: Default None results in equal probability weighting.
weights: Default 'None' results in equal probability weighting.
If passed a Series, will align with target object on index.
Index values in weights not found in sampled object will be
ignored and index values in sampled object not in weights will
Expand Down

0 comments on commit b1e32ca

Please sign in to comment.