def search_data_types(setup_result, list_columns: list, target: str):
    """
    Search input of data types

    Args:
        setup_result: tuple
            transformation pipeline
        list_columns: list
            list of columns in dataset
        target: str
            target column
    Returns:
        list_num: list
            list of strings with column names that are numeric.
        list_cat: list
            list of strings with column names that are categorical.
    """

    list_num_org = list_columns.copy()

    for i in range(len(setup_result)):
        try:
            _ = list(setup_result[i].columns)
        except:
            pass
        else:
            if list(setup_result[i].columns) != list_columns:
                list_num_org = list(setup_result[i].columns)
                break
            else:
                pass

    list_num = list(set(list_num_org) & set(list_columns))

    list_cat = list_columns.copy()
    for i in list_num:
        list_cat.remove(i)

    list_cat.remove(target)

    return list_num, list_cat