def get_cat(CatVar, data):
    """
    Gets the possible values for all categorical predictors, to be used with ohe. Necessary to avoid different numbers of columns when encoding.
    :param CatVar: List. The categorical variables in the data that will be passed.
    :param data: DataFrame like object. The full data for the project. Needed to ensure the models will never run into a value it does not know how to handle.
    """
    cat = []
    for var in CatVar:
        cat.append(data[var].unique())
    return cat