Class 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.
    • Field Detail

      • col

        protected final Column<T> col
        The column being interpolated
    • Constructor Detail

      • Interpolator

        public Interpolator​(Column<T> column)
        Constructs an object for performing interpolation on the given column
    • Method Detail

      • backfill

        public Column<T> backfill()
        Fills missing values with the next non-missing value
      • frontfill

        public Column<T> frontfill()
        Fills missing values with the last non-missing value