Search
 
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)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Show #Pandas #Contain #Particular
ADD COMMENT
Topic
Name
3+8 =