def update_full_sheet(sh, df, ws=0, index=0):
    """
    Load a google sheet and overwrite all of its content with a new dataframe
    using gspread_pandas.
    Args:
        sh (gspread_pandas.Spread): Spreadsheet object
        df (pandas.Dataframe): dataframe to push to sheet
        ws (int or str): Name or index of the worksheet (tab)
        index (int): Column number of index in the sheet
                     Default: 0, no index in the sheet

    Returns:
        old_df (pandas.Dataframe): dataframe of old sheet content.
    """

    # Open the worksheet
    sh.open_sheet(ws)

    old_df = sh.sheet_to_df(index=index)
    sh.df_to_sheet(df, index=index, replace=True)

    return old_df