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 pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #remove #columns #dataframe
ADD COMMENT
Topic
Name
6+2 =