📜  正计数器python代码示例

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

代码示例1
# Positive Counter
pcount = 0
test_row =reviews['clean_review'][0]
for i in pwords.split():
    for j in test_row.split():
        if i == j:
            pcount+=1