Hi @B_elias2
The main issue with the two datasets is that even though they look similar, they are not similar in the relevant ways. For example, both datasets have a date_time column; however, the first one is of the datetime class, but the second one is of the double (numeric) class. That's a problem, especially because the actions you are trying to perform on both datasets make use of this column.
The second issue is that the two datasets have different columns. This does not really affect the actions you specified above, but it may affect future actions. The first dataset has the "Hours" and "Dates" columns and the second dataset has the "correct_date_time" and "date" columns.
I can easily fix this; however, the code I will send you if I do will not be very effective. Could you please send me two datasets, which are similar so I can show you how to achieve your goal?