remove hh:mm:ss from pandas dataframe column 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