code: def test_replace_dataframe_invalid_schema(es):
      if es.dataframe_type != Library.PANDAS:
          pytest.xfail(
              "Invalid schema checks able to be caught by Woodwork only relevant for Pandas",
          )
      df = es["customers"].copy()
      df["id"] = pd.Series([1, 1, 1])
  
      error_text = "Index column must be unique"
      with pytest.raises(IndexError, match=error_text):
          es.replace_dataframe(dataframe_name="customers", df=df)
  
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 36 for calling a global function with example usage: test_replace_dataframe_invalid_schema(es) without return types