Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop a column in pandas

note: df is your dataframe

df = df.drop('coloum_name',axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #column #pandas
ADD COMMENT
Topic
Name
4+6 =