When trying to raise a negative number (e.g. np.sin(5)) to an arbitrary power of magnitude less than 1 (e.g. 1/3), it results in an error even when
np.sin(5)
1/3