Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataFrame.Show(Int32, Int32, Boolean) Method

Definition

Namespace:
Microsoft.Spark.Sql
Assembly:
Microsoft.Spark.dll
Package:
Microsoft.Spark v1.0.0

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.

Displays rows of the DataFrame in tabular form.

public void Show(int numRows = 20, int truncate = 20, bool vertical = false);
member this.Show : int * int * bool -> unit
Public Sub Show (Optional numRows As Integer = 20, Optional truncate As Integer = 20, Optional vertical As Boolean = false)

Parameters

numRows
Int32

Number of rows to show

truncate
Int32

If set to more than 0, truncates strings to truncate characters and all cells will be aligned right.

vertical
Boolean

If set to true, prints output rows vertically (one line per column value).

Applies to