Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Pandas: How to Drop Rows that Contain a Specific String

df[df["col"].str.contains("this string")==False]
Source by www.statology.org #
 
PREVIOUS NEXT
Tagged: #How #Drop #Rows #Contain #Specific #String
ADD COMMENT
Topic
Name
3+1 =