rowCounts(x, value=TRUE, na.rm=FALSE, ...)
df.has_cancer.value_counts() Out[345]: False 6 True 1 Name: has_cancer, dtype: int64