bigframes.pandas.Series.items#

Series.items()[source]#

Lazily iterate over (index, value) tuples.

This method returns an iterable tuple (index, value). This is convenient if you want to create a lazy iterator.

Examples:

>>> s = bpd.Series(['A', 'B', 'C'])
>>> for index, value in s.items():
...     print(f"Index : {index}, Value : {value}")
Index : 0, Value : A
Index : 1, Value : B
Index : 2, Value : C
Returns:

Iterable of tuples containing the (index, value) pairs from a Series.

Return type:

iterable