'Matching closest values placed at different places by day in a dataframe time series

I would like to fit two columns of datas that are often missmatched by timestamp. For that I would like to align the values of the columns with the nearest value in the dataframe, in a same day. Here is an exemple.

enter image description here

As you can, the values look similar, but are not in the right place. Someone could help me please? Sorry if the question has been already asked, but I have not find right toppics/answers.

Kind regards



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source