To calculate the weighted average using np.average(), you can provide an array of weights using the weights parameter. The weighted average is computed by multiplying each element by its corresponding weight, summing these products, and then dividing by the sum of the weights.