Click or drag to resize
SeriesModuleConvertT, R, K Method
Retruns a new series whose values are converted using the specified conversion function. This operation is like `mapValues`, but it requires a pair of function that converts the values in _both ways_. ## Parameters - `forward` - Function that converts original values to the new - `backward` - Function that converts new values back to the original ## Remarks This operation is only interesting when working with virtualized data sources. Using the `convert` function makes it possible to perfom additional operations on the resulting series - for example lookup - by converting the new value back and using the lookup of the underlying virtualized source.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, R> Convert<T, R, K>(
	FSharpFunc<T, R> forward,
	FSharpFunc<R, T> backward,
	Series<K, T> series
)

Parameters

forward
Type: Microsoft.FSharp.CoreFSharpFuncT, R

[Missing <param name="forward"/> documentation for "M:Deedle.SeriesModule.Convert``3(Microsoft.FSharp.Core.FSharpFunc{``0,``1},Microsoft.FSharp.Core.FSharpFunc{``1,``0},Deedle.Series{``2,``0})"]

backward
Type: Microsoft.FSharp.CoreFSharpFuncR, T

[Missing <param name="backward"/> documentation for "M:Deedle.SeriesModule.Convert``3(Microsoft.FSharp.Core.FSharpFunc{``0,``1},Microsoft.FSharp.Core.FSharpFunc{``1,``0},Deedle.Series{``2,``0})"]

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.Convert``3(Microsoft.FSharp.Core.FSharpFunc{``0,``1},Microsoft.FSharp.Core.FSharpFunc{``1,``0},Deedle.Series{``2,``0})"]

Type Parameters

T
R
K

Return Value

Type: SeriesK, R

[Missing <returns> documentation for "M:Deedle.SeriesModule.Convert``3(Microsoft.FSharp.Core.FSharpFunc{``0,``1},Microsoft.FSharp.Core.FSharpFunc{``1,``0},Deedle.Series{``2,``0})"]

See Also