Jul-19-2022, 06:31 AM
"np.sign" is not used correctly; check the parentheses (see doc; for instance:
import numpy as np A=np.sign(-10.59) print(f"A={A}") B=np.sign(1586.22) print(f"B={B}")