Hi is it possible to iterate through the values in the dataframe using pyspark code in databricks notebook?
            Asked
            
        
        
            Active
            
        
            Viewed 417 times
        
    1 Answers
0
            
            
        Yes You can , You can find lot of options here
rows = df3.select('columnname').collect()
final_list = []
for i in rows:
    final_list.append(i[0])
print(final_list)
 
    
    
        Karthikeyan Rasipalay Durairaj
        
- 1,920
- 13
- 35
