def METHOD_NAME():
    # python2.7 doesn't like DataFrame pickles created from python3.x and vice versa. So we create them on-the-go
    pickle_path = file_relative_path(__file__, "num.pickle")
    df = pd.DataFrame({"num1": [1, 3], "num2": [2, 4]})
    df.to_pickle(pickle_path)
    called = {}
    @op(ins={"df": In(DataFrame)})
    def df_as_config(_context, df):
        assert df.to_dict("list") == {"num1": [1, 3], "num2": [2, 4]}
        called["yup"] = True
    @graph
    def test_graph():
        df_as_config()
    result = test_graph.execute_in_process(
        run_config={"ops": {"df_as_config": {"inputs": {"df": {"pickle": {"path": pickle_path}}}}}}
    )
    assert result.success
    assert called["yup"]
    os.remove(pickle_path)