0,1,foo
0,0,foo
0,1,foo
1,1,foobar
1,1,foobar
0,1,test
1,1,foobarbar
大约10000个条目。你知道吗
让它成为csv文件。你知道吗
我想知道第一列中有多少个“0”与Foo有关。以及第二列中与foo相关的“1”和“0”的数目。你知道吗
我是否阅读了文件中的前一行并进行了检查?有没有办法使用列表理解?我怎样在那里维护柜台?你知道吗
预期产量:
Foo
Coloumn1 :
No. of 0's = 3
no. of 1's = 0
column 2:
no. of 1's =2
no. of 0's =1
构建数据
输出:
显示数据
输出
退货
相关问题 更多 >
编程相关推荐