Click or drag to resize
EnumerableExtensionsToSeriesK, V Method
Convert the `IEnumerable` to a `Series`, using the keys and values of the `KeyValuePair` as keys and values of the resulting series.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, V> ToSeries<K, V>(
	this IEnumerable<KeyValuePair<K, V>> observations
)

Parameters

observations
Type: System.Collections.GenericIEnumerableKeyValuePairK, V

[Missing <param name="observations"/> documentation for "M:Deedle.EnumerableExtensions.ToSeries``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})"]

Type Parameters

K
V

Return Value

Type: SeriesK, V

[Missing <returns> documentation for "M:Deedle.EnumerableExtensions.ToSeries``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableKeyValuePairK, V. 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