I am having a data frame of random dates from 2008 to 2020 and their identical value
Date Val
September 16, 2012 32
September 19, 2014 33
January 05, 2008 26
June 07, 2017 02
December 15, 2019 03
May 28, 2020 18
I want to replace all the missing dates that are from January 01, 2008, to March 31, 2020, with value 1.
I want the following data as my output:
Date Val
January 01, 2008 1
January 02, 2008 1
January 03, 2008 1
January 04, 2008 1
January 05, 2008 26
........