Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Pyspark Drop columns

list = ['Employee ID','Employee NAME','Company Name']
  
# delete two columns
dataframe = dataframe.drop(*list)
dataframe.show()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #Pyspark #Drop #columns
ADD COMMENT
Topic
Name
4+2 =