code: def test_numpy_non_contiguious():
      recdtype = np.dtype([("index", np.int64), ("a", np.int32)])
      rec = np.recarray(10, dtype=recdtype)
      rec.index = np.arange(30, 40)
      rec.a = aa = np.arange(20, dtype=np.int32)[::2]
      assert rec.a.flags["C_CONTIGUOUS"] is False
  
      gdf = DataFrame.from_records(rec, index="index")
      assert_eq(aa, gdf["a"].values)
  
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 5 for calling a global function with example usage: test_numpy_non_contiguious() without return types