Answers for "remove hh:mm:ss from pandas dataframe column"

0

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
Posted by: Guest on August-08-2020

Code answers related to "remove hh:mm:ss from pandas dataframe column"

Python Answers by Framework

Browse Popular Code Answers by Language