📌  相关文章
📜  python - 计算列中出现的次数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:38.057000             🧑  作者: Mango

代码示例1
print df
  col1 education
0    a       9th
1    b       9th
2    c       8th

len(df[df['education'] == '9th'])