📜  python dataframe find no of true - Python 代码示例
📅  最后修改于: 2022-03-11 14:47:19.040000             🧑  作者: Mango
代码示例3
df.has_cancer.value_counts()
Out[345]:
False 6
True 1
Name: has_cancer, dtype: int64