Liczba liczby Python liczba zer w kolumnie
(myDataFrame[column_name] == 0).sum()
Jealous Jackal
(myDataFrame[column_name] == 0).sum()
df.astype(bool).sum(axis=0)
(pandas_dataframe == 0).sum(axis=1)
for coloumns just use axis = 0 so
(pandas_dataframe== 0).sum(axis=0)