Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert datetime to date pandas

[dt.to_datetime().date() for dt in df.dates]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #datetime #date #pandas
ADD COMMENT
Topic
Name
1+6 =