Numpy how to define Complex number?

got this line but not recognized by NP

AWGZ = RAWG1[iawg][1]+RAWG1[iawg][2]j

is it possible to use variables to define a CPX number with NP ?

if i use like Z = 2+3j then it works fine !

thanks
happy bl

You have to write x + y * 1j

that is the trick

thanks
happy bl