I have a data frame of overnight interest swaps that look like this
Date DSWP10
07/01/2015 2.1
06/01/2015 .
05/01/2015 .
04/01/2015 1.99
03/01/2015 1.98
02/01/2015 .
01/01/2015 1.95
I am looking to replace the values that are a full stop (.) with the value form the previous day so that the data frame looks like
Date DSWP10
07/01/2015 2.1
06/01/2015 1.99
05/01/2015 1.99
04/01/2015 1.99
03/01/2015 1.98
02/01/2015 1.95
01/01/2015 1.95
Any idea how to get this done?