@@ -2745,7 +2745,7 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
27452745
27462746 Parameters
27472747 ----------
2748- axis : {0, 1}, or tuple/list thereof
2748+ axis : {0 or 'index' , 1 or 'columns' }, or tuple/list thereof
27492749 Pass tuple or list to drop on multiple axes
27502750 how : {'any', 'all'}
27512751 * any : if any NA values are present, drop that label
@@ -2890,7 +2890,7 @@ def sort(self, columns=None, axis=0, ascending=True,
28902890 ascending : boolean or list, default True
28912891 Sort ascending vs. descending. Specify list for multiple sort
28922892 orders
2893- axis : {0, 1}
2893+ axis : {0 or 'index' , 1 or 'columns'}, default 0
28942894 Sort index/rows versus columns
28952895 inplace : boolean, default False
28962896 Sort the DataFrame without creating a new instance
@@ -2919,7 +2919,7 @@ def sort_index(self, axis=0, by=None, ascending=True, inplace=False,
29192919
29202920 Parameters
29212921 ----------
2922- axis : {0, 1}
2922+ axis : {0 or 'index' , 1 or 'columns'}, default 0
29232923 Sort index/rows versus columns
29242924 by : object
29252925 Column name(s) in frame. Accepts a column name or a list
@@ -3027,7 +3027,7 @@ def sortlevel(self, level=0, axis=0, ascending=True,
30273027 Parameters
30283028 ----------
30293029 level : int
3030- axis : {0, 1}
3030+ axis : {0 or 'index' , 1 or 'columns'}, default 0
30313031 ascending : boolean, default True
30323032 inplace : boolean, default False
30333033 Sort the DataFrame without creating a new instance
@@ -3639,9 +3639,9 @@ def apply(self, func, axis=0, broadcast=False, raw=False, reduce=None,
36393639 ----------
36403640 func : function
36413641 Function to apply to each column/row
3642- axis : {0, 1}
3643- * 0 : apply function to each column
3644- * 1 : apply function to each row
3642+ axis : {0 or 'index' , 1 or 'columns'}, default 0
3643+ * 0 or 'index' : apply function to each column
3644+ * 1 or 'columns' : apply function to each row
36453645 broadcast : boolean, default False
36463646 For aggregation functions, return object of same size with values
36473647 propagated
@@ -4162,8 +4162,8 @@ def corrwith(self, other, axis=0, drop=False):
41624162 Parameters
41634163 ----------
41644164 other : DataFrame
4165- axis : {0, 1}
4166- 0 to compute column-wise, 1 for row-wise
4165+ axis : {0 or 'index' , 1 or 'columns'}, default 0
4166+ 0 or 'index' to compute column-wise, 1 or 'columns' for row-wise
41674167 drop : boolean, default False
41684168 Drop missing indices from result, default returns union of all
41694169
@@ -4214,8 +4214,8 @@ def count(self, axis=0, level=None, numeric_only=False):
42144214
42154215 Parameters
42164216 ----------
4217- axis : {0, 1}
4218- 0 for row-wise, 1 for column-wise
4217+ axis : {0 or 'index' , 1 or 'columns'}, default 0
4218+ 0 or 'index' for row-wise, 1 or 'columns' for column-wise
42194219 level : int or level name, default None
42204220 If the axis is a MultiIndex (hierarchical), count along a
42214221 particular level, collapsing into a DataFrame
@@ -4368,8 +4368,8 @@ def idxmin(self, axis=0, skipna=True):
43684368
43694369 Parameters
43704370 ----------
4371- axis : {0, 1}
4372- 0 for row-wise, 1 for column-wise
4371+ axis : {0 or 'index' , 1 or 'columns'}, default 0
4372+ 0 or 'index' for row-wise, 1 or 'columns' for column-wise
43734373 skipna : boolean, default True
43744374 Exclude NA/null values. If an entire row/column is NA, the result
43754375 will be NA
@@ -4399,8 +4399,8 @@ def idxmax(self, axis=0, skipna=True):
43994399
44004400 Parameters
44014401 ----------
4402- axis : {0, 1}
4403- 0 for row-wise, 1 for column-wise
4402+ axis : {0 or 'index' , 1 or 'columns'}, default 0
4403+ 0 or 'index' for row-wise, 1 or 'columns' for column-wise
44044404 skipna : boolean, default True
44054405 Exclude NA/null values. If an entire row/column is NA, the result
44064406 will be first index.
@@ -4446,9 +4446,9 @@ def mode(self, axis=0, numeric_only=False):
44464446
44474447 Parameters
44484448 ----------
4449- axis : {0, 1, 'index', 'columns'} ( default 0)
4450- * 0/ 'index' : get mode of each column
4451- * 1/ 'columns' : get mode of each row
4449+ axis : {0 or 'index', 1 or 'columns'}, default 0
4450+ * 0 or 'index' : get mode of each column
4451+ * 1 or 'columns' : get mode of each row
44524452 numeric_only : boolean, default False
44534453 if True, only apply to numeric columns
44544454
@@ -4553,7 +4553,7 @@ def rank(self, axis=0, numeric_only=None, method='average',
45534553
45544554 Parameters
45554555 ----------
4556- axis : {0, 1}, default 0
4556+ axis : {0 or 'index' , 1 or 'columns' }, default 0
45574557 Ranks over columns (0) or rows (1)
45584558 numeric_only : boolean, default None
45594559 Include only float, int, boolean data
@@ -4605,7 +4605,7 @@ def to_timestamp(self, freq=None, how='start', axis=0, copy=True):
46054605 how : {'s', 'e', 'start', 'end'}
46064606 Convention for converting period to timestamp; start of period
46074607 vs. end
4608- axis : {0, 1} default 0
4608+ axis : {0 or 'index' , 1 or 'columns'}, default 0
46094609 The axis to convert (the index by default)
46104610 copy : boolean, default True
46114611 If false then underlying input data is not copied
@@ -4636,7 +4636,7 @@ def to_period(self, freq=None, axis=0, copy=True):
46364636 Parameters
46374637 ----------
46384638 freq : string, default
4639- axis : {0, 1}, default 0
4639+ axis : {0 or 'index' , 1 or 'columns' }, default 0
46404640 The axis to convert (the index by default)
46414641 copy : boolean, default True
46424642 If False then underlying input data is not copied
0 commit comments