Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove columns that start with pandas

cols = [c for c in df.columns if c.lower()[:6] != 'string']
df=df[cols]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #columns #start #pandas
ADD COMMENT
Topic
Name
5+8 =