Click or drag to resize
SeriesModuleresampleEquivK1, K2, V1 Method
Resample the series based on equivalence class on the keys. A specified function `keyProj` is used to project keys to another space and the observations for which the projected keys are equivalent are grouped into chunks. The chunks are then returned as nested series. ## Parameters - `series` - An input series to be resampled - `keyProj` - A function that transforms keys from original space to a new space (which is then used for grouping based on equivalence) ## Remarks This function is similar to `Series.chunkBy`, with the exception that it transforms keys to a new space. This operation is only supported on ordered series. The method throws `InvalidOperationException` when the series is not ordered. For unordered series, similar functionality can be implemented using `Series.groupBy`. [category:Sampling, resampling and advanced lookup]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K2, Series<K1, V1>> resampleEquiv<K1, K2, V1>(
	FSharpFunc<K1, K2> keyProj,
	Series<K1, V1> series
)

Parameters

keyProj
Type: Microsoft.FSharp.CoreFSharpFuncK1, K2

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

series
Type: DeedleSeriesK1, V1

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

Type Parameters

K1
K2
V1

Return Value

Type: SeriesK2, SeriesK1, V1

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

See Also