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

Method iloc

src/danfojs-base/core/frame.ts:380–385  ·  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 * @param columns Array of column indexe

({ rows, columns }: {
        rows?: Array<string | number | boolean> | Series,
        columns?: Array<string | number>
    })

Source from the content-addressed store, hash-verified

378 * ```
379 */
380 iloc({ rows, columns }: {
381 rows?: Array<string | number | boolean> | Series,
382 columns?: Array<string | number>
383 }): DataFrame {
384 return _iloc({ ndFrame: this, rows, columns }) as DataFrame;
385 }
386
387
388 /**

Callers 4

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

Calls 1

_ilocFunction · 0.90

Tested by

no test coverage detected