* Access a group of rows and columns 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 * @param columns Array of column indexes * * Allowed inputs are: * * - A
({ rows, columns }: {
rows?: Array<string | number | boolean> | Series,
columns?: Array<string>
})
| 413 | * ``` |
| 414 | */ |
| 415 | loc({ rows, columns }: { |
| 416 | rows?: Array<string | number | boolean> | Series, |
| 417 | columns?: Array<string> |
| 418 | }): DataFrame { |
| 419 | return _loc({ ndFrame: this, rows, columns }) as DataFrame |
| 420 | } |
| 421 | |
| 422 | /** |
| 423 | * Prints DataFrame to console as a formatted grid of row and columns. |