Click or drag to resize
FrameExtensionsIndexRowsOrdinallyTRowKey, TColumnKey Method
Replace the row index of the frame with ordinarilly generated integers starting from zero. The rows of the frame are assigned index according to the current order, or in a non-deterministic way, if the current row index is not ordered. ## Parameters - `frame` - Source data frame whose row index are to be replaced. [category:Data structure manipulation]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<int, TColumnKey> IndexRowsOrdinally<TRowKey, TColumnKey>(
	this Frame<TRowKey, TColumnKey> frame
)

Parameters

frame
Type: DeedleFrameTRowKey, TColumnKey

[Missing <param name="frame"/> documentation for "M:Deedle.FrameExtensions.IndexRowsOrdinally``2(Deedle.Frame{``0,``1})"]

Type Parameters

TRowKey
TColumnKey

Return Value

Type: FrameInt32, TColumnKey

[Missing <returns> documentation for "M:Deedle.FrameExtensions.IndexRowsOrdinally``2(Deedle.Frame{``0,``1})"]

Usage Note

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