CBSE Class 12 Informatics Practices Question 47 of 101

Python Pandas — II — Question 2

Back to all questions
2
Question

Question 2

The iteritems() iterates over the columns of a DataFrame.

Answer

True

Reason — The iteritems() method in pandas iterates over a DataFrame column-wise, where each vertical subset is in the form of (column-index, Series) where Series contains all row values for that column-index.