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.void
- Parameters:
- arrs
python:list
ofndarray
Arrays for which to find the common dtype
- arrs
- Returns:
- dtype_str
python:str
String representation of dytpe (dtype
str
attribute)
- dtype_str