pandas 0.8.1 documentation

pandas.Series.interpolate

Series.interpolate(method='linear')

Interpolate missing values (after the first valid value)

Parameters :

method : {‘linear’, ‘time’, ‘values’}

Interpolation method. ‘time’ interpolation works on daily and higher resolution data to interpolate given length of interval ‘values’ using the actual index numeric values

Returns :

interpolated : Series