Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime to int in pandas

df['time'] = df['time'].apply(lambda x: x.value)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #int #pandas
ADD COMMENT
Topic
Name
7+8 =