code: def test_to_pandas_simple(simple_data):
      """
      Test that a ColumnAccessor converts to a correct pd.Index
      """
      ca = ColumnAccessor(simple_data)
      assert_eq(ca.to_pandas_index(), pd.DataFrame(simple_data).columns)
  
imports: import pandas
  import pytest
  import cudf
  from cudf.core.column_accessor import ColumnAccessor
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 5 for calling a global function with example usage: test_to_pandas_simple(simple_data) without return types