Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove columns that contain string pandas

df = df[df.columns.drop(list(df.filter(regex='Test')))]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #columns #string #pandas
ADD COMMENT
Topic
Name
2+1 =