import pickle


def load_pickle(path):
    """
    Load a saved pickle file
    Parameters
    ----------
    path: str
        path of the saved file
    Returns
    -------
    loaded pickle file
    """
    with open(path, 'rb') as file:
        variable = pickle.load(file)
    return variable