My simplified data structure is as follows::
FieldA    FieldB
abc        
abc
abc        emailabc
abc        emailabc
def        
def
def
ijk
ijk        emailijk
abc        emailabc1
abc        emailabc1
My required output::
FieldA    FieldB
abc        emailabc
def
ijk        emailijk
abc        emailabc1
How do I get this result.. I tried doing a groupby but that gave out duplicate fieldA without feildB as well.
Any help is sincerely appreciated.
 
     
    