Megosztás a következőn keresztül:


DataFrame.Take(Int32) Method

Definition

Returns the first n rows in the DataFrame.

public System.Collections.Generic.IEnumerable<Microsoft.Spark.Sql.Row> Take (int n);
member this.Take : int -> seq<Microsoft.Spark.Sql.Row>
Public Function Take (n As Integer) As IEnumerable(Of Row)

Parameters

n
Int32

Number of rows

Returns

First n rows

Applies to