DataFrame<R, C>.ReplaceMissingValues Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ReplaceMissingValues(Direction, Int32) Returns a new data frame whose columns have their missing values replaced with the next or previous non-missing value.
ReplaceMissingValues<T>(T) Returns a new data frame whose columns of the specified type have their missing values replaced with the specified value.
ReplaceMissingValues<T>(Vector<T>) Returns a new data frame whose columns of the specified type have their missing values replaced with the corresponding value from a row vector.

ReplaceMissingValues<T>(T)

Returns a new data frame whose columns of the specified type have their missing values replaced with the specified value.
C#
public virtual DataFrame<R, C> ReplaceMissingValues<T>(
	T value
)

Parameters

value  T
The replacement value.

Type Parameters

T

Return Value

DataFrame<R, C>
A new data frame.

ReplaceMissingValues<T>(Vector<T>)

Returns a new data frame whose columns of the specified type have their missing values replaced with the corresponding value from a row vector.
C#
public virtual DataFrame<R, C> ReplaceMissingValues<T>(
	Vector<T> values
)

Parameters

values  Vector<T>
A vector that contains the replacement value for each column.

Type Parameters

T

Return Value

DataFrame<R, C>
A new data frame.

ReplaceMissingValues(Direction, Int32)

Returns a new data frame whose columns have their missing values replaced with the next or previous non-missing value.
C#
public DataFrame<R, C> ReplaceMissingValues(
	Direction fillDirection,
	int limit = 1073741824
)

Parameters

fillDirection  Direction
Specifies whether missing values should be replaced by the previous (Forward) or next (Backward) non-missing values.
limit  Int32  (Optional)
The maximum number of successive missing values that may be filled.

Return Value

DataFrame<R, C>
A new data frame.

See Also