Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyspark min column

#return the minimum from the height, age and weight columns
df.select(min('height'),min('age'),min('weight')).collect()
 
PREVIOUS NEXT
Tagged: #pyspark #min #column
ADD COMMENT
Topic
Name
6+8 =