new_gist_file.py
listing['ListingDate']=listing['ListingDate'].map(lambda x: pd.Timestamp(x))
#timestamp confuses itself use 2nd one to be sure
campaigns13['SD']=campaigns13['Start Date *'].map(lambda x: pd.to_datetime(x,dayfirst=True))
listing['ListingDate']=listing['ListingDate'].map(lambda x: pd.Timestamp(x))
#timestamp confuses itself use 2nd one to be sure
campaigns13['SD']=campaigns13['Start Date *'].map(lambda x: pd.to_datetime(x,dayfirst=True))