joining two dataset based on 2 different columns code example
Example: combine dataframes with two matching columns
merged_df = DF2.merge(DF1, how = 'inner', on = ['date', 'hours'])
merged_df = DF2.merge(DF1, how = 'inner', on = ['date', 'hours'])