This function is used to calculate the inverse sin of the array elements.
numpy.arcsin(array, out)
It returns an array containing the inverse sin for all the array elements, x.
import numpy as np import math arr = [0, 0.3, -1] print ("Input array : \n", arr) arcsine = np.arcsin(arr) print ("\nInverse Sine values : \n", arcsine)
Output: