Enum FillMethod
- Namespace
- Datafication.Core.Data
- Assembly
- Datafication.Core.dll
Specifies the method for filling null values in a DataBlock.
public enum FillMethod
Fields
BackwardFill = 1Use next valid observation to fill null values (backward propagation). Useful for planning and forecast data.
ConstantValue = 2Fill null values with a specified constant value. Requires providing a constantValue parameter.
ForwardFill = 0Propagate last valid observation forward to fill null values. Commonly used in time series data.
LinearInterpolation = 6Fill null values using linear interpolation between surrounding valid values. Only applicable to numeric columns, best for time series data.
Mean = 3Fill null values with the mean of the column. Only applicable to numeric columns.
Median = 4Fill null values with the median of the column. Only applicable to numeric columns.
Mode = 5Fill null values with the most frequent value (mode) in the column. Applicable to any data type.