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 start with pandas
cols = [c for c in df.columns if c.lower()[:6] != 'string'] df=df[cols]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#columns
#start
#pandas
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit