Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

format datetime python pandas

df['DOB']=pd.to_datetime(df['DOB'].astype(str), format='%m/%d/%Y')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #datetime #python #pandas
ADD COMMENT
Topic
Name
6+5 =