DataFrame.Limit(Int32) 方法

定義

藉由擷取第一 number 個數據列,傳回新的 DataFrame

public Microsoft.Spark.Sql.DataFrame Limit(int n);
member this.Limit : int -> Microsoft.Spark.Sql.DataFrame
Public Function Limit (n As Integer) As DataFrame

參數

n
Int32

要接受的資料列數目

傳回

DataFrame 物件

適用於