ImputeTransform๏
Stability: Stable
What it is๏
Use ImputeTransform as a ready-made preprocessing step inside direct analysis code or a Pipeline.
Representative Signatures๏
ImputeTransform(method="interpolate", **kwargs)
ImputeTransform.transform(x)
Minimal Example๏
from gwexpy.timeseries import ImputeTransform
filled = ImputeTransform(method="interpolate").fit_transform(ts)
API Reference๏
The detailed generated API continues below on this page.
Inherits from: Transform
Impute missing values using existing lower-level helpers.
Methods๏
__init__๏
__init__(self, method: str = 'interpolate', **kwargs)
Initialize self. See help(type(self)) for accurate signature.
(Inherited from Transform)
fit๏
fit(self, x)
Fit the transform to the data. Returns self.
fit_transform๏
fit_transform(self, x)
Fit and transform in one step.
inverse_transform๏
inverse_transform(self, y)
Reverse the transform. Not all transforms support this.
transform๏
transform(self, x)
Apply the transform to data. Must be implemented by subclasses.
(Inherited from Transform)