Class ILocDataFrameIndexer (1.11.0)

ILocDataFrameIndexer(dataframe: bigframes.dataframe.DataFrame)

API documentation for ILocDataFrameIndexer class.

Methods

__getitem__

__getitem__(
    key,
) -> typing.Union[bigframes.dataframe.DataFrame, pandas.core.series.Series]

Index dataframe using integer offsets. Currently supports index by key type:

slice: i.e. df.iloc[2:5] returns rows at index 2, 3, and 4 as a dataframe individual offset: i.e. df.iloc[0] returns row at index 0 as a pandas Series

Other key types are not yet supported.