def _compare_first_n(series_1, series_2, n):
    """
    Utility function that sees if the first n rows of a Pandas series are the same
    """
    for i in range(n):
        if series_1.iloc[i] != series_2.iloc[i]:
            return False
    return True