code: def test_replace_dataframe_column_order(es):
      original_column_order = es["customers"].columns.copy()
  
      df = es["customers"].copy()
      col = df.pop("cohort")
      df[col.name] = col
  
      assert not df.columns.equals(original_column_order)
      assert set(df.columns) == set(original_column_order)
  
      es.replace_dataframe(dataframe_name="customers", df=df)
  
      assert es["customers"].columns.equals(original_column_order)
  
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 44 for calling a global function with example usage: test_replace_dataframe_column_order(es) without return types