* Access a group of rows by label(s) or a boolean array. * ``loc`` is primarily label based, but may also be used with a boolean array. * * @param rows Array of row indexes * * Allowed inputs are: * * - A single label, e.g. ``["5"]`` or ``['a']``, (note that ``5
(rows: Array<string | number | boolean>)
| 141 | * ``` |
| 142 | */ |
| 143 | loc(rows: Array<string | number | boolean>): Series { |
| 144 | return _loc({ ndFrame: this, rows }) as Series |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Returns the first n values in a Series |