I just started working with DataFrames and i'm struggling with a request:
I have a df with this structure:
id req_date spec_date
1 2021-09-28T07:19:43 2021-09-24T07:17:02
2 2021-04-28T07:19:43
3 2021-02-21T07:14:41
I'm trying to create a new column for which the values to be the earliest dates between the req_date and spec_date. It's working as expected when both column have values , but if one of them is empty then the new column value will also be empty, how do i treat this case?