The NumPy reference lists numpy.pow with the same signature as numpy.power, shown as the same ufunc, so the two names refer to the same function. If you only want to silence the invalid-value warning ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results