def METHOD_NAME(pd_es, spark_es):
    df = pd.DataFrame(
        {
            "id": pd.Series(["A_1", "A_2", "C", "D"], dtype="string"),
            "values": [1, 12, -34, 27],
        },
    )
    spark_df = ps.from_pandas(df)
    pd_es.add_dataframe(
        dataframe_name="new_dataframe",
        dataframe=df,
        index="id",
        logical_types={"id": NaturalLanguage, "values": Integer},
    )
    spark_es.add_dataframe(
        dataframe_name="new_dataframe",
        dataframe=spark_df,
        index="id",
        logical_types={"id": NaturalLanguage, "values": Integer},
    )
    pd.testing.assert_frame_equal(
        pd_es["new_dataframe"].reset_index(drop=True),
        spark_es["new_dataframe"].to_pandas(),
    )