Javatpoint Logo
Javatpoint Logo

Numpy radians() method

This function is used to convert the angles from degrees to radians.

Syntax

Parameters

  1. array: these are the angles whose radians values are to be calculated.
  2. 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()





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA