code: def test_to_records_noindex():
      df = DataFrame()
      df["a"] = aa = np.arange(10, dtype=np.int32)
      df["b"] = bb = np.arange(10, 20, dtype=np.float64)
  
      rec = df.to_records(index=False)
      assert rec.dtype.names == ("a", "b")
      np.testing.assert_array_equal(rec["a"], aa)
      np.testing.assert_array_equal(rec["b"], bb)
  
file_path: cudf/python/cudf/cudf/tests/test_numpy_interop.py
imports: import numpy
  import pytest
  from cudf import DataFrame, Series
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 1 for calling a global function with example usage: test_to_records_noindex() without return types