pandas中axis=1,axis=0的理解,统计每行或每列中为0的数 创建一个df import pandas as pd df = pd.DataFrame({ "a": [2, 2, 4, 0], "b":