common_dtype¶
-
astropy.utils.metadata.common_dtype(arrs)[source]¶ Use numpy to find the common dtype for a list of ndarrays.
Only allow arrays within the following fundamental numpy data types:
np.bool_,np.object_,np.number,np.character,np.voidParameters: - arrs : list of ndarray objects
Arrays for which to find the common dtype
Returns: - dtype_str : str
String representation of dytpe (dtype
strattribute)