import pickle


def load_pickle(path):
    """ Load a pickle object from path.

    Parameters
    ----------
    path : str
        Path to pickle file.

    Returns
    -------
    pickle object
        Loaded pickle object.

    """
    with open(path, 'rb') as f:
        X = pickle.load(f)
    return X