I have a pandas dataframe consisting of a date column and a binary column named isHoliday, which simply consists of 1 if the date is a holiday and 1 if it is not. I want to create another two columns. One, a number of days to holiday column, which calculates the number of days left to the next holiday from both the date column and isHoliday column. Two, a number of days after holiday column, which calculates the number of days after to the last holiday from both the date column and isHoliday column.
