Convert angles from degrees to radians.
x : array_like
Angles in degrees.
y : ndarray
The corresponding angle in radians.
See also
Notes
New in version 1.3.0.
deg2rad(x) is x * pi / 180.
Examples
>>> np.deg2rad(180) 3.1415926535897931
numpy.unwrap
numpy.rad2deg
Enter search terms or a module, class or function name.