DataFrame.Limit(Int32) Method
Definition
Returns a new DataFrame
by taking the first number
rows.
public Microsoft.Spark.Sql.DataFrame Limit (int n);
member this.Limit : int -> Microsoft.Spark.Sql.DataFrame
Public Function Limit (n As Integer) As DataFrame
Parameters
- n
- Int32
Number of rows to take
Returns
DataFrame object