pandas.DataFrame.items

DataFrame.items()[source]

Iterator over (column name, Series) pairs.

See also

iterrows
Iterate over DataFrame rows as (index, Series) pairs.
itertuples
Iterate over DataFrame rows as namedtuples of the values.
Scroll To Top