I have a date column in a dataframe
but its type is string :
palma.Created_at[1:5]
- 1 2019-10-20 12:08:40 +0200
- 2 2019-10-20 12:08:40 +0200
- 3 2019-10-20 12:08:40 +0200
- 4 2019-10-20 12:08:40 +0200
- 5 2019-10-20 12:08:40 +0200
- Name: Created_at, dtype: object
and I want to be just like : 2019-10-20
. So how to convert it like this and should I convert it to date type or no?