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




Python

Related
spyder new instance Code Example spyder new instance Code Example
python PyDrive service account credentials Code Example python PyDrive service account credentials Code Example
import libraries to Jupyter notebook Code Example import libraries to Jupyter notebook Code Example
reading a list in python Code Example reading a list in python Code Example
python multiply 2 variables Code Example python multiply 2 variables Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7