MCPcopy Create free account
hub / github.com/dask/dask / iloc

Method iloc

dask/dataframe/dask_expr/_collection.py:3747–3761  ·  view source on GitHub ↗

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 :ref:`dataframe.indexing` for more. Examples -------- >>> df.iloc[:, [2, 0

(self)

Source from the content-addressed store, hash-verified

3745
3746 @property
3747 def iloc(self):
3748 """Purely integer-location based indexing for selection by position.
3749
3750 Only indexing the column positions is supported. Trying to select
3751 row positions will raise a ValueError.
3752
3753 See :ref:`dataframe.indexing` for more.
3754
3755 Examples
3756 --------
3757 >>> df.iloc[:, [2, 0, 1]] # doctest: +SKIP
3758 """
3759 from dask.dataframe.dask_expr._indexing import ILocIndexer
3760
3761 return ILocIndexer(self)
3762
3763 def _comparison_op(self, expr_cls, other, level, axis):
3764 if level is not None:

Callers

nothing calls this directly

Calls 1

ILocIndexerClass · 0.90

Tested by

no test coverage detected