Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Returns the first row as a Row

# Returns the first row as a Row

df.first()
# Row(age=2, name=u'Alice')
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #Returns #row #Row
ADD COMMENT
Topic
Name
7+2 =