code: def test_presence_index1(df_checks_output):
      """Raise KeyError if labels in `index` do not exist."""
      with pytest.raises(KeyError):
          df_checks_output.pivot_wider(
              index="geo", names_from="variable"
          )
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_presence_index1(df_checks_output) without return types