Class ILocDataFrameIndexer (2.23.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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月27日 UTC.