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 对象

适用于