Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete columns pandas

df = df.drop(df.columns[[0, 1, 3]], axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #columns #pandas
ADD COMMENT
Topic
Name
1+9 =