modin.pandas.DataFrame.items¶
- DataFrame.items() Iterable[tuple[Hashable, modin.pandas.series.Series]][source]¶
Iterate over (column name,
Series) pairs.Iterates over the DataFrame columns, returning a tuple with the column name and the content as a Series.
- Yields:
label (object) – The column names for the DataFrame being iterated over.
content (Series) – The column entries belonging to each label, as a Series.
See also
DataFrame.iterrowsIterate over DataFrame rows as (index, Series) pairs.
DataFrame.itertuplesIterate over DataFrame rows as namedtuples of the values.
Examples