modin.pandas.DataFrame.items¶
- DataFrame.items()[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/../../../../../opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/modin/pandas/dataframe.py#L1142-L1153)¶
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