變更

前往: 導覽搜尋

使用Pandas统计元素出现次数

已移除 7 位元組, 2022年3月20日 (日) 11:46
無編輯摘要
[[File:PythonPandasStat1.png]]
2.使用print(df['性别'].value_countscount())即可输出“性别”的统计次数。
[[File:PythonPandasStat2.png]]
1,138
次編輯

導覽選單