Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

using list comprehension to filter out age group pandas

l = [person for person in world if re.search(person.name, '.*Smith') and person.gender = 'm' and person.age < 20]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #comprehension #filter #age #group #pandas
ADD COMMENT
Topic
Name
5+7 =