#Use interpolate() function to fill the missing values using linear method #after upsampling the df. df.resample('D').interpolate()