Search
 
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
Name
1+7 =