Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove a column from dataframe

del df['column_name'] #to remove a column from dataframe
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #column #dataframe
ADD COMMENT
Topic
Name
2+2 =