Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

distinct rows in this DataFrame

# distinct rows in this DataFrame

df.distinct().count()
# 2
Source by spark.apache.org #
 
PREVIOUS NEXT
Tagged: #distinct #rows #DataFrame
ADD COMMENT
Topic
Name
5+9 =