Data Frame<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#
A new data frame containing the first count rows of the data frame.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Argument | count is less than zero. |