I have a question similar to this SO question except instead of only having numbers and text, my column has numbers, text and dates in them. How do I remove all rows that have values other than numbers and dates?
For example, I have a generic dataframe:
id | Nums and Dates |
---|---|
1 | 40 |
2 | 1/1/2021 |
3 | AABBC |
4 | 20 |
5 | 1/2/2021 |
And after removal, it should look like this.
id | Nums and Dates |
---|---|
1 | 40 |
2 | 1/1/2021 |
4 | 20 |
5 | 1/2/2021 |