DataFrame.Take(Int32) 方法

定義

傳回 中的 DataFrame 第一個 n 資料列。

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)

參數

n
Int32

資料列數目

傳回

第一個 n 資料列

適用於