Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/ray/dataframe/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2959,7 +2959,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 @@ -3220,7 +3220,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 @@ -3531,7 +3531,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