DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+8 =
Submit