Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop all unnamed columns pandas

df.drop(df.columns[df.columns.str.contains('unnamed',case = False)],axis = 1, inplace = True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #unnamed #columns #pandas
ADD COMMENT
Topic
Name
7+8 =