I realized that we don’t have a Linear interpolation node in KNIME. So, I made a simple one using a python inside a Component.
Just connect your dataset.
Select the columns you want to interpolate and the number of interpolations:
NOTE: You can also see what happened with your data for verification:
Attached is the workflow.
Also with minal changes in teh code you can also apply other interpolations such as:
|Type of Interpolation
|Univariate Spline Interpolation
|Interpolated Univariate Spline
|Least Squares Univariate Spline Interpolation
|Cubic Spline Interpolation
|Rational Function Interpolation
|Piecewise Polynomial (PCHIP)
|Bivariate Spline for 2-D Data
|Radial Basis Function Interpolation
|Nearest Neighbor Interpolation
|Multivariate Data Interpolation
Linear Interpolation.knwf (117.4 KB)