Return the inexact scalar type which is most common in a list of arrays.
The return type will always be an inexact scalar type, even if all the arrays are integer arrays
Parameters: | array1, array2, ... : ndarray
|
---|---|
Returns: | out : data type code
|
See also
Examples
>>> np.common_type(np.arange(4), np.array([45,6]), np.array([45.0, 6.0]))
<type 'numpy.float64'>