bigframes.pandas.DataFrame.iterrows#
- DataFrame.iterrows() Iterable[tuple[Any, Series]][source]#
Iterate over DataFrame rows as (index, Series) pairs.
Examples:
>>> df = bpd.DataFrame({ ... 'A': [1, 2, 3], ... 'B': [4, 5, 6], ... }) >>> index, row = next(df.iterrows()) >>> index np.int64(0) >>> row A 1 B 4 Name: 0, dtype: object
- Returns:
A tuple where data contains row values as a Series
- Return type:
Iterable[Tuple]