95
Numpy radians() method
This function is used to convert the angles from degrees to radians.
Syntax
Parameters
- array: these are the angles whose radians values are to be calculated.
- Out: It is the shape of the output array.
Return
It returns an array containing equivalent radians angles of the degrees given in the input array.
Example
Output:
Input array : [0, 30, 60, 90] Radian value : [0. 0.52359878 1.04719755 1.57079633]
Next TopicNumpy arcsinh()