How can we use pandas to check, if any column is a datetime datatype column and then convert only that column to a date format string (yyyy-mm-dd) datatype column.
I have multiple columns that are datetime. So, I cannot go by column name and change it. But would rather prefer a way that checks and then changes it.
Kindly help me with this.