combine two dataframes based on similar columns values 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'])