Click or drag to resize
EnumerableExtensionsToOrdinalSeriesV Method
Convert the `IEnumerable` to a `Series`, using the seuqence as the values of the resulting series. The keys are generated ordinarilly, starting from 0.

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

Parameters

observations
Type: System.Collections.GenericIEnumerableV

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

Type Parameters

V

Return Value

Type: SeriesInt32, V

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

Usage Note

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