import pickle


def load_pkl(path):
    """
    Load data from pickle file.
    :param path: pickle file path to load the data from
    :return: python object in the pickle file
    """
    with open(path,'rb') as f:
        r = pickle.load(f)
    return r