code: def test_query_with_index_keyword(query, a_val, b_val, c_val):
      pdf = pd.DataFrame(
          {
              "a": [1, None, 3, 4, 5],
              "b": [5, 4, 3, 2, 1],
              "c": [12, 15, 17, 19, 27],
          }
      )
      pdf.set_index("a")
  
      gdf = DataFrame.from_pandas(pdf)
  
      out = gdf.query(query)
      expect = pdf.query(query)
  
      assert_eq(out, expect)
  
imports: import datetime
  import inspect
  from itertools import product
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import DataFrame
  from cudf.testing._utils import assert_eq
  from cudf.utils import queryutils
label_desc: Use image node_id 9 for calling a global function with example usage: test_query_with_index_keyword(query, a_val, b_val, c_val) without return types