DataFrame<R, C>.Head Method

Returns the first few rows of the data frame.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public DataFrame<R, C> Head(
	int count = 5
)

Parameters

count  Int32  (Optional)
The number of rows to return.

Return Value

DataFrame<R, C>
A new data frame containing the first count rows of the data frame.

Remarks

If count is greater than or equal to the number of rows in the data frame, the data frame is returned unmodified.

Exceptions

ArgumentOutOfRangeException

count is less than zero.

See Also