MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / iloc

Method iloc

src/danfojs-base/core/series.ts:104–106  ·  view source on GitHub ↗

* Purely integer-location based indexing for selection by position. * ``.iloc`` is primarily integer position based (from ``0`` to * ``length-1`` of the axis), but may also be used with a boolean array. * * @param rows Array of row indexes * * Allowed inputs are in rows an

(rows: Array<string | number | boolean>)

Source from the content-addressed store, hash-verified

102 * ```
103 */
104 iloc(rows: Array<string | number | boolean>): Series {
105 return _iloc({ ndFrame: this, rows }) as Series
106 }
107
108 /**
109 * Access a group of rows by label(s) or a boolean array.

Callers 4

headMethod · 0.95
tailMethod · 0.95
sampleMethod · 0.95
toStringMethod · 0.95

Calls 1

_ilocFunction · 0.90

Tested by

no test coverage detected