You will learn how to count the number of zeros in an array using two different Python methods: count_nonzero and where.

# count

## How to count number of zeros in Numpy array?

Let’s check how many zeros there are in your array. We will use the Numpy count_nonzero function.

## Frequency and percentage of given letter in the text

You will learn how to calculate the frequency and percentage of a given letter in a text using Python.