Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

series datetime64 seconds to 0

# 'zerofy' seconds
df.datetime.astype('datetime64[m]')

# 'zerofy' minutes
df.datetime.astype('datetime64[h]')
 
PREVIOUS NEXT
Tagged: #series #seconds
ADD COMMENT
Topic
Name
9+6 =