DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
subtract current date from pandas date column
pd.to_datetime(x['myDate']) - pd.datetime.now().date()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#subtract
#current
#date
#pandas
#date
#column
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit