I have a dataset with two datetime columns (let's say Call_Date & Transaction_Date). Call_Date is always populated, as we are only looking for instances where we were able to reach a consumer. Then, if the consumer makes a transaction, we populate Transaction_Date. Therefore, Transaction_date is not always populated.
What I'm trying to get to is when both dates are populated, how many days after the call the consumer made a transaction, without removing the cases where the consumer has not made a transaction.
Any way to do that?
Minimal Example
df = pd.DataFrame({'Customer': ['ABC','XYZ','PQR'],
'Call_Date': ['12/8/2021 2:31:07 PM','20/8/2021 5:27:02 AM','5/8/2021 7:29:40 PM'],
'Transaction_Date': ['16/8/2021 9:21:58 PM', pd.NaT, pd.NaT]})
