I would like to find values in a column (clear_date
) that do not correspond to a valid date. The date is formatted as '%Y/%m/%d'
.
I've tried the following piece of code but, the resulting variable doesn't have any rows!
x_test = dataset[dataset['clear_date'] == "NaT"].copy()