This recipe helps you convert pandas timestamp to a date
How to convert pandas timestamp to a date? So this can be done by using the "Timestamp.date()" function in the pandas, by using this it will return the date of the given timestamp object as a datetime object.
import pandas as pd
Sample_timestamp = pd.Timestamp(year = 2020, month = 12, day = 31, hour = 7, minute = 20, second = 50, tz = "America/Chicago")
print("This is the Timestamp date:", Sample_timestamp)
This is the Timestamp date: 2020-12-31 07:20:50-06:00
print("This is the Conversion of Timestamp data into datetime:", Sample_timestamp.date())
This is the Conversion of Timestamp data into datetime: 2020-12-31