Skip to content

Commit b1e32ca

Browse files
devin-petersohnrobertnishihara
authored andcommitted
Fixing ascii error for Python2 (#2009)
1 parent 1f82a46 commit b1e32ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ray/dataframe/dataframe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,7 +2967,7 @@ def nunique(self, axis=0, dropna=True):
29672967
observations over requested axis.
29682968
29692969
Args:
2970-
axis : {0 or index, 1 or columns}, default 0
2970+
axis : {0 or 'index', 1 or 'columns'}, default 0
29712971
dropna : boolean, default True
29722972
29732973
Returns:
@@ -3228,7 +3228,7 @@ def rank(self, axis=0, method='average', numeric_only=None,
32283228
Args:
32293229
axis (int): 0 or 'index' for row-wise,
32303230
1 or 'columns' for column-wise
3231-
interpolation: {average’, ‘min’, ‘max’, ‘first’, ‘dense}
3231+
interpolation: {'average', 'min', 'max', 'first', 'dense'}
32323232
Specifies which method to use for equal vals
32333233
numeric_only (boolean)
32343234
Include only float, int, boolean data.
@@ -3539,7 +3539,7 @@ def sample(self, n=None, frac=None, replace=False, weights=None,
35393539
Default = 1 if frac = None.
35403540
frac: Fraction of axis items to return. Cannot be used with n.
35413541
replace: Sample with or without replacement. Default = False.
3542-
weights: Default None results in equal probability weighting.
3542+
weights: Default 'None' results in equal probability weighting.
35433543
If passed a Series, will align with target object on index.
35443544
Index values in weights not found in sampled object will be
35453545
ignored and index values in sampled object not in weights will

0 commit comments

Comments
 (0)