Say I have:
A = np.array( [1,2,3,-8] )
I need a function that would return 8
I know it's a simple one, but instant Google-Fu failed, hence some merit in populating SO maybe.
You can try running :
np.abs(A).max()