iterating through columns with specific names 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]))