remove hh:mm:ss from datetime pandas code example
Example: remove hh:mm:ss from pandas dataframe column
import pandas as pd
from datetime import date
dfST['timestamp'] = pd.to_datetime(dfST['timestamp'])
dfST['new_date_column'] = dfST['timestamp'].dt.date