DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+3 =
Submit