Click or drag to resize
SeriesExtensionsFillMissingK, T Method (SeriesK, T, FuncK, T)
Fill missing values in the series using the specified function. The specified function is called with all keys for which the series does not contain value and the result of the call is used in place of the missing value. ## Parameters - `series` - An input series that is to be filled - `filler` - A function that takes key `K` and generates a value to be used in a place where the original series contains a missing value. ## Remarks This function can be used to implement more complex interpolation. For example see [handling missing values in the tutorial](../frame.html#missing) [category:Missing values]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, T> FillMissing<K, T>(
	this Series<K, T> series,
	Func<K, T> filler
)

Parameters

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesExtensions.FillMissing``2(Deedle.Series{``0,``1},System.Func{``0,``1})"]

filler
Type: SystemFuncK, T

[Missing <param name="filler"/> documentation for "M:Deedle.SeriesExtensions.FillMissing``2(Deedle.Series{``0,``1},System.Func{``0,``1})"]

Type Parameters

K
T

Return Value

Type: SeriesK, T

[Missing <returns> documentation for "M:Deedle.SeriesExtensions.FillMissing``2(Deedle.Series{``0,``1},System.Func{``0,``1})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SeriesK, T. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also