count number of zeroes in a dataframe column code example Example: python count number of zeros in a column (myDataFrame[column_name] == 0).sum()