pandas.DataFrame.items
pandas 3.1.1 · DataFrame · method
Iterate over label–value pairs. DataFrame yields each column label and its Series.
Call syntax
DataFrame.items()Run the example
Edit the example and select Run Python to see the result.
Parameters
This call takes no arguments.
Returns
Iterable[tuple[Hashable, Series]]