Pandas > Iterate over column name / series pairs

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,100,size=(3, 2)), columns=['C1','C2'])
print ("dataframe")
print (dataframe)
print (10*'-')
print ("Iteration \n")
for col_idx,data in dataframe.iteritems():
    print ("column:",col_idx)
    print ("column data:")
    print (data,"\n")
dataframe
   C1  C2
0  58  37
1  31   0
2  53  60
----------
Iteration 

column: C1
column data:
0    58
1    31
2    53
Name: C1, dtype: int64 

column: C2
column data:
0    37
1     0
2    60
Name: C2, dtype: int64