def _np_dtype(attribute_type):
    """
    Return a relevant numpy dtype entry.
    """
    if attribute_type in ('double', 'float', 'real'):
        return float
    elif attribute_type in ('int', 'integer'):
        return int
    else:
        return object
