I have two time series, df1
       day        cnt
2020-03-01  135006282
2020-03-02  145184482
2020-03-03  146361872
2020-03-04  147702306
2020-03-05  148242336
and df2:
       day        cnt
2017-03-01  149104078
2017-03-02  149781629
2017-03-03  151963252
2017-03-04  147384922
2017-03-05  143466746
The problem is that the sensors I'm measuring are sensitive to the day of the week, so on Sunday, for instance, they will produce less cnt. Now I need to compare the time series over 2 different years, 2017 and 2020, but to do that I have to align (March, in this case) to the matching day of the week, and plot them accordingly. How do I "shift" the data to make the series comparable?
 
     
    