DataFrame<R, C>.RemoveRowIndex Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0

Overload List

RemoveRowIndex() Returns a new data frame that has a default numeric row index. The row index is discarded.
RemoveRowIndex(C) Returns a new data frame that has a default numeric row index. The row index is moved to a new column in the data frame.

RemoveRowIndex

Returns a new data frame that has a default numeric row index. The row index is discarded.
C#
public DataFrame<long, C> RemoveRowIndex()

Return Value

DataFrame<Int64, C>
A new data frame with the same columns as the current data frame, but the row index replaced with a default numeric index.

Remarks

This is a row-index-only operation. Dataframe-owned column metadata is copied unchanged for existing columns, and the returned data frame owns independent metadata sidecars.

RemoveRowIndex(C)

Returns a new data frame that has a default numeric row index. The row index is moved to a new column in the data frame.
C#
public DataFrame<long, C> RemoveRowIndex(
	C columnKey
)

Parameters

columnKey  C
The key of the column that will contain the keys of the current row index.

Return Value

DataFrame<Int64, C>
A new data frame with the same columns as the current data frame, but the row index moved to a new column and replaced with a default numeric index.

Remarks

Dataframe-owned metadata is copied for existing logical columns only. The appended row-index column is newly introduced dataframe data and defaults to None and Default.

See Also