Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Filter Pandas rows by specific string elements

df = df[~df['c'].astype(str).str.startswith('https')]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Filter #Pandas #rows #specific #string #elements
ADD COMMENT
Topic
Name
4+3 =