DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dataframe change column types
df['current_anniversary_date'] = df['current_anniversary_date'].astype('datetime64[ns]')
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#change
#column
#types
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit