Fixing ascii error for Python2 (#2009)

This commit is contained in:
Devin Petersohn 2018-05-07 11:56:40 -07:00 committed by Robert Nishihara
parent 1f82a46473
commit b1e32ca6c2

View file

@ -2967,7 +2967,7 @@ class DataFrame(object):
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:
@ -3228,7 +3228,7 @@ class DataFrame(object):
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.
@ -3539,7 +3539,7 @@ class DataFrame(object):
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