DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove columns that contain string pandas
df = df[df.columns.drop(list(df.filter(regex='Test')))]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#columns
#string
#pandas
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit