DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dataframe how to substruct 2 dates
df_test['Difference'] = (df_test['First_Date'] - df_test['Second Date']).dt.days
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#substruct
#dates
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit