Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove columns from dataframe

df.drop('col_name',1) #1 drop column / 0 drop row
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #remove #columns #dataframe
ADD COMMENT
Topic
Name
9+2 =