In the section https://pysdr.org/content/noise.html#complex-noise it is mentioned the average power of a zero mean signal using:
power = np.var(x)
In the subsequent line it is mentioned the power of signal n is 2 where n is as follows:
n = np.random.randn() + 1j * np.random.randn()
When I run np.var(n) , the result is 0. So how is the power of signal 2?