def split_vals(df, n):
    """
    This function splits a given dataframe or an array into two parts at n.

    Input:
    -----

    df: Pandas Dataframe Object
    n: The index at which to split.
    """
    return df[:n], df[n:]