Run »
import numpy as np arr = np.array([0.1, 0.2, 0.5]) x = np.arctanh(arr) print(x)
[0.10033535 0.20273255 0.54930614]