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 certain names in pandas
df = df.drop(df.filter(regex='Test').columns, axis=1)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#columns
#names
#pandas
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit