code: def test_names_glue_single_column(df_checks_output):
      """
      Test names_glue for single column.
      """
  
      df_out = (
          df_checks_output.pivot(
              index=["geoid", "name"],
              columns="variable",
              values="estimate",
          )
          .add_suffix("_estimate")
          .rename_axis(columns=None)
          .reset_index()
      )
  
      result = df_checks_output.pivot_wider(
          slice("geoid", "name"),
          "variable",
          "estimate",
          names_glue="{variable}_estimate",
      )
      assert_frame_equal(result, df_out)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 28 for calling a global function with example usage: test_names_glue_single_column(df_checks_output) without return types