DataFrame.Limit(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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