I have a dataframe like this,

```
datecol1              datecol2
2005-02-22          EmployeeNotFound
2010-02-21          2010-02-22
EmployeeNotFound    EmployeeNotFound
EmployeeNotFound    2010-02-22

```

Both the columns have a dtype of Object.

I want to compare these two columns and get the maximum date on it for each column.

So the expected result is

```
    datecol1            datecol2                  ExpectedResult
    2005-02-22          EmployeeNotFound          2005-02-22
    2010-02-21          2010-02-22                2010-02-22
    EmployeeNotFound    EmployeeNotFound          EmployeeNotFound
    EmployeeNotFound    2010-02-25                2010-02-25

```

The dtype of ExpectedResult will again be an object.