Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas mask string contains

data[(data.Exchange == 'INDX') & (data.Name.str.contains('Dow'))]
 
PREVIOUS NEXT
Tagged: #pandas #mask #string
ADD COMMENT
Topic
Name
4+6 =