Use interpolate(limit_direction='both') to extrapolate missing values at head or tail.
interpolate(limit_direction='both')