Package tech.tablesaw.interpolation
Class Interpolator<T>
java.lang.Object
tech.tablesaw.interpolation.Interpolator<T>
- Direct Known Subclasses:
NumberInterpolator
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInterpolator
(Column<T> column) Constructs an object for performing interpolation on the given column -
Method Summary
-
Field Details
-
col
The column being interpolated
-
-
Constructor Details
-
Interpolator
Constructs an object for performing interpolation on the given column
-
-
Method Details
-
backfill
Fills missing values with the next non-missing value -
frontfill
Fills missing values with the last non-missing value
-