Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas convert series of datetime to date

df['date_only'] = df['date_time_column'].dt.date
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #convert #series #datetime #date
ADD COMMENT
Topic
Name
1+3 =