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)]
 
PREVIOUS NEXT
Tagged: #Show #Pandas #Contain #Particular
ADD COMMENT
Topic
Name
8+2 =