Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pandas show column with regular expression

df[df['Country (region)'].str.count('^[pP].*')>0]
Source by kanoki.org #
 
PREVIOUS NEXT
Tagged: #pandas #show #column #regular #expression
ADD COMMENT
Topic
Name
9+8 =