Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

spark dataframe get unique values

df.select('col_name').distinct().show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spark #dataframe #unique #values
ADD COMMENT
Topic
Name
9+1 =