I\'m trying to fill down a column based on 2 conditions. In this case, whether the index (time series) falls between sunrise and sunset, in which case I want 1 in a new colu