Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove columns that contain certain names in pandas

df = df.drop(df.filter(regex='Test').columns, axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #columns #names #pandas
ADD COMMENT
Topic
Name
9+9 =