DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
delete unnamed coloumns in pandas
# Best method so far. df = df.loc[:, ~df.columns.str.contains('^Unnamed')]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#delete
#unnamed
#coloumns
#pandas
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit