def METHOD_NAME(dtype):
    dtype = str(dtype)
    if dtype in ['int64', 'integer']:
        return int
    elif 'float' in dtype:
        return float
    elif dtype in ['bool', 'boolean']:
        return bool
    elif 'datetime' in dtype:
        return datetime
    return str