REF: Change iterkv to iteritems due to pandas depreciation