I want to replace the values from a DataFrame column with values from a List.
How do I replace them only when the value in the list is not an empty string ?
Both are ordered the same way :
Dataframe List
ID Date UpdatedDate
1 19/04/2022 20/10/2022
2 12/07/2022
3 27/09/2022 03/10/2022
4 11/05/2022 14/10/2022
5 04/10/2022
6 02/08/2022 19/10/2022
I want this to become a single dataframe with the updated dates.
ID Date
1 20/10/2022
2 12/07/2022
3 03/10/2022
4 14/10/2022
5 04/10/2022
6 19/10/2022
Any suggestions? Much appreciated.