I have two dataframes: Weather and Guest Counts. To simplify they look like these:
I was trying to merge two data frames based on the "date" and "time_period" columns. The ideal result looks like something like this:
I did this but nothing came out. I am not sure what the issue is.
f = pd.merge(left=df2,right=dp2, left_on=['date','time_period'], right_on=['date','time_period'])