common_dtype

astropy.utils.metadata.common_dtype(arrs)[source] [edit on github]

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: list of ndarray objects

Arrays for which to find the common dtype