Package tech.tablesaw.interpolation
Class Interpolator<T>
- java.lang.Object
-
- tech.tablesaw.interpolation.Interpolator<T>
-
- Direct Known Subclasses:
NumberInterpolator
public class Interpolator<T> extends Object
Creates a new column with missing cells filled based off the value of nearby cells. This class contains methods that are agnostic of column type.
-
-
Constructor Summary
Constructors Constructor Description Interpolator(Column<T> column)
Constructs an object for performing interpolation on the given column
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Column<T>
backfill()
Fills missing values with the next non-missing valueColumn<T>
frontfill()
Fills missing values with the last non-missing value
-