更改

跳转至: 导航搜索

使用Pandas统计元素出现次数

删除1字节, 2022年5月3日 (二) 16:40
无编辑摘要
[[File:PythonPandasStat7.png]]
8.使用print((df == 171).sum())即可将DataFrame中所有值 为2 为1 的数据个数统计。
[[File:PythonPandasStat8.png]]
1,138
个编辑

导航菜单