dask_expr._collection.DataFrame.iloc

dask_expr._collection.DataFrame.iloc

property DataFrame.iloc

Purely integer-location based indexing for selection by position.

Only indexing the column positions is supported. Trying to select row positions will raise a ValueError.

See Indexing into Dask DataFrames for more.

Examples

>>> df.iloc[:, [2, 0, 1]]