code: def test_dataframe_with_name_parameter(es):
      new_es = EntitySet()
  
      new_df = es["sessions"][["id"]]
  
      assert new_df.ww.schema is None
  
      new_es.add_dataframe(
          new_df,
          dataframe_name="df_name",
          index="id",
          logical_types={"id": "Integer"},
      )
      assert new_es["df_name"].ww.name == "df_name"
  
imports: from datetime import datetime
  import numpy
  import pandas
  import pytest
  from woodwork.exceptions import TypeConversionError
  from woodwork.logical_types import Boolean, Categorical, Datetime, Double, Integer, NaturalLanguage
  from featuretools.entityset.entityset import LTI_COLUMN_NAME, EntitySet
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.gen_utils import Library, import_or_none, is_instance
label_desc: Use image node_id 28 for calling a global function with example usage: test_dataframe_with_name_parameter(es) without return types