DataFrame.interpolate(method='linear', axis=0, limit=None, inplace=False, limit_direction='forward', downcast=None, **kwargs) [source]
Interpolate values according to different methods. Please note that only method='linear' is supported for DataFrames/Series with a MultiIndex. Parameters:
method : {?linear?, ?time?, ?index?, ?values?, ?nearest?, ?zero?, ?slinear?, ?quadratic?, ?cubic?, ?barycentric?, ?krogh?, ?polynomial?, ?spline?, ?piecewise_polynomial?, ?from_derivatives?, ?pchip?, ?a