Share via


DataFrame.Tail(Int32) Method

Definition

Returns the last n rows in the DataFrame.

[Microsoft.Spark.Since("3.0.0")]
public System.Collections.Generic.IEnumerable<Microsoft.Spark.Sql.Row> Tail (int n);
[<Microsoft.Spark.Since("3.0.0")>]
member this.Tail : int -> seq<Microsoft.Spark.Sql.Row>
Public Function Tail (n As Integer) As IEnumerable(Of Row)

Parameters

n
Int32

Number of rows

Returns

Last n rows

Attributes

Applies to