join two columns with same values together 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'])