Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove unnamed columns pandas

df2.columns.str.match("Unnamed")
df2.loc[:,~df2.columns.str.match("Unnamed")]
Source by www.datasciencelearner.com #
 
PREVIOUS NEXT
Tagged: #remove #unnamed #columns #pandas
ADD COMMENT
Topic
Name
1+4 =