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 colab.research.google.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#change
#column
#types
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit