@@ -387,8 +387,8 @@ def isin(comps, values):
387
387
388
388
Parameters
389
389
----------
390
- comps: array-like
391
- values: array-like
390
+ comps : array-like
391
+ values : array-like
392
392
393
393
Returns
394
394
-------
@@ -856,8 +856,8 @@ def rank(values, axis=0, method='average', na_option='keep',
856
856
The method by which tiebreaks are broken during the ranking.
857
857
na_option : {'keep', 'top'}, default 'keep'
858
858
The method by which NaNs are placed in the ranking.
859
- - ``keep``: rank each NaN value with a NaN ranking
860
- - ``top``: replace each NaN with either +/- inf so that they
859
+ - ``keep`` : rank each NaN value with a NaN ranking
860
+ - ``top`` : replace each NaN with either +/- inf so that they
861
861
there are ranked at the top
862
862
ascending : boolean, default True
863
863
Whether or not the elements should be ranked in ascending order.
@@ -1473,10 +1473,10 @@ def take(arr, indices, axis=0, allow_fill=False, fill_value=None):
1473
1473
allow_fill : bool, default False
1474
1474
How to handle negative values in `indices`.
1475
1475
1476
- * False: negative values in `indices` indicate positional indices
1476
+ * False : negative values in `indices` indicate positional indices
1477
1477
from the right (the default). This is similar to :func:`numpy.take`.
1478
1478
1479
- * True: negative values in `indices` indicate
1479
+ * True : negative values in `indices` indicate
1480
1480
missing values. These values are set to `fill_value`. Any other
1481
1481
other negative values raise a ``ValueError``.
1482
1482
0 commit comments