Skip to contents

Display the structure of a SparkDataFrame, including column names, column types, as well as a a small sample of rows.

Usage

# S4 method for class 'SparkDataFrame'
str(object)

Arguments

object

a SparkDataFrame

Note

str since 1.6.1

Examples

if (FALSE) { # \dontrun{
# Create a SparkDataFrame from the Iris dataset
irisDF <- createDataFrame(iris)

# Show the structure of the SparkDataFrame
str(irisDF)
} # }