numpy.radians()

numpy.radians

numpy.radians(x[, out]) = <ufunc 'radians'>

Convert angles from degrees to radians.

Parameters:

x : array_like

Input array in degrees.

out : ndarray, optional

Output array of same shape as x.

Returns:

y : ndarray

The corresponding radian values.