Q. What is the basic difference between iterrows() and iteritems()?


Answer :-

<DF>iteritems() iterates over vertical subsets in the form of (col-index, Series) pairs, and <DF>iterrows() iterates over horizontal subsets in the form of (row-index, Series) pairs.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post