for index, row in data2.iterrows(): date_selection = (data1[\'Start Time\'] > row[\'shifted_date\']) & (data1[\'Start Time\'] <= row[\'Timestamp\']) releva