import pickle


def load_df(path):
    """Loads and returns an object from a pickle file in path

    Parameters:
    path (string): Path where the pickle file resides

    Returns:
    object: Object in pickle file
    """
    infile = open(path, 'rb')
    df = pickle.load(infile)
    infile.close()
    return df