import pickle


def load_object(filename):
    """
    Load python object
    -------------------------------------------
    Inputs:
    filename: name of pickle file I want to load. Example: 'dump_file.pkl'
    -------------------------------------------
    Output:
    loaded object
    """
    with open(filename, "rb") as input_file:
        e = pickle.load(input_file)
    return e