I need to find the corrispective of an element in another column of a Pandas DataFrame. The DataFrame is like this:
EVENT        CODE          DAY
event01      102934        00/00/0000
event02      021384        00/00/0000
event03      045823        00/00/0000
My script is like this:
for a in df["EVENT"]:
    print(a + " " + code)
//event01 102934
//event02 021384
//event03 045823
For example I would like to find out what is the code associated to the event03 (so 045823). How can I do? Thank you!
 
     
    