Fix Python 2 regression from Pandas DF

Python 2 Pandas only has iteritems, which is also supported in Python 3