Imagine that we have the following dataframe:
Name ID Phone Email
Paul 10 000001 [email protected]
Sarah 20 [email protected]
John 30 000003
Will 40
Evelyn 50 000005 [email protected]
And also the following lists:
['Sarah', '20', '000002', '[email protected]']
['John', '30', '000003', '[email protected]']
['Will', '40', '000004', '[email protected]']
Is there any pythonic pandas way to update the values that are None in the Dataframe from the lists than not having to loop and look field by field?
The result should be:
Name ID Phone Email
Paul 10 000001 [email protected]
Sarah 20 000002 [email protected]
John 30 000003 [email protected]
Will 40 000004 [email protected]
Evelyn 50 000005 [email protected]
Thank you in advance!!