DataFrame.Head 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.
Overloads
Head(Int32) |
Returns the first |
Head() |
Returns the first row. |
Head(Int32)
Returns the first n
rows.
public System.Collections.Generic.IEnumerable<Microsoft.Spark.Sql.Row> Head (int n);
member this.Head : int -> seq<Microsoft.Spark.Sql.Row>
Public Function Head (n As Integer) As IEnumerable(Of Row)
Parameters
- n
- Int32
Number of rows
Returns
First n
rows
Applies to
Head()
Returns the first row.
public Microsoft.Spark.Sql.Row Head ();
member this.Head : unit -> Microsoft.Spark.Sql.Row
Public Function Head () As Row
Returns
First row