On this page
pandas.Series.iteritems
- Series.iteritems()[source]
-
Lazily iterate over (index, value) tuples.
Deprecated since version 1.5.0: iteritems is deprecated and will be removed in a future version. Use .items instead.
This method returns an iterable tuple (index, value). This is convenient if you want to create a lazy iterator.
- Returns
-
- iterable
-
Iterable of tuples containing the (index, value) pairs from a Series.
See also
-
Series.items
-
Recommended alternative.
-
DataFrame.items
-
Iterate over (column name, Series) pairs.
-
DataFrame.iterrows
-
Iterate over DataFrame rows as (index, Series) pairs.
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.Series.iteritems.html