Dataframe: I have a datetime index, but it is missing the 17:00 each day. How would I add additional yyyy-mm-dd 17:00 row to every day?
Say if I have:
price
2017-01-01 16:55 1.2
2017-01-01 17:05 2.3
2017-01-01 17:10 3.4
.
.
.
2019-01-01 16:55 23
2019-01-01 17:05 29
2019-01-01 17:10 20
I want to add rows at 17:00 with NaNs so that I have
2017-01-01 16:55 1.2
2017-01-01 17:00 NaN
2017-01-01 17:05 2.3
2017-01-01 17:10 3.4