def split_by(df, vertical):
    """ Split the dataframe by the name of the vertical and
    return the two resulting dataframes.
    :param df(DataFrame): The dataframe to split
    :param vertical(str): The vertical to split on
    :returns DataFrame, DataFrame
    """
    vert = df[df['vertical'] == vertical]
    rest = df[df['vertical'] != vertical]
    return vert, rest