time_stream.infill.LinearInterpolation¶
- class time_stream.infill.LinearInterpolation(**kwargs)[source]¶
Linear spline interpolation (Convenience wrapper around B-spline with order=1). https://docs.scipy.org/doc/scipy-1.16.1/reference/generated/scipy.interpolate.make_interp_spline.html
Methods
__init__(**kwargs)Initialize linear interpolation.
apply(df, time_name, periodicity, infill_column)Apply the infill method to the time series data.
available()Return a sorted list of available registered keys.
get(spec, **kwargs)Resolve spec to an instance of Self:
register(register_cls)A method used as a decorator for subclasses to add to the register by its name attribute.
Attributes
min_points_requiredB-spline needs at least order+1 points.
name