Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

count number of rows pandas condition

sum(df['sex'] == 'man')
 
PREVIOUS NEXT
Tagged: #count #number #rows #pandas #condition
ADD COMMENT
Topic
Name
5+8 =