DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Show Pandas Column(s) that Contain a Particular String/Substring
df.columns[df.columns.str.contains('string', case = True)]
PREVIOUS
NEXT
Tagged:
#Show
#Pandas
#Contain
#Particular
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit