iterating columns in pandas code example
Example: pandas iterate columns
for name, values in df.iteritems():
print('{name}: {value}'.format(name=name, value=values[0]))
for name, values in df.iteritems():
print('{name}: {value}'.format(name=name, value=values[0]))