def remove_outlier(dataframe, outlier_range, to_detect):
    """
    Remove the outlier of a specific column of dataframe
    :param dataframe: a pandas dataframe
    :param outlier_range: a list containing the values that are view as outliers
    :param to_detect: a string corresponding to the column on the dataframe, indicating the data to look into
    :return: a pandas dataframe after removing outliers
    """
    filt = (dataframe[to_detect].isin(outlier_range)) # currently set to an array of outlier values
    after_remove = dataframe.drop(dataframe[filt].index)
    after_remove = after_remove.reset_index(drop=True)
    return after_remove