code: def test_column_view_valid_numeric_to_numeric(
      data, from_dtype, to_dtype
  ):
      cpu_data = np.asarray(data, dtype=from_dtype)
      gpu_data = as_column(data, dtype=from_dtype)
  
      cpu_data_view = cpu_data.view(to_dtype)
      gpu_data_view = gpu_data.view(to_dtype)
  
      expect = pd.Series(cpu_data_view, dtype=cpu_data_view.dtype)
      got = cudf.Series(gpu_data_view, dtype=gpu_data_view.dtype)
  
      gpu_ptr = gpu_data.data.get_ptr(mode="read")
      assert gpu_ptr == got._column.data.get_ptr(mode="read")
      assert_eq(expect, got)
  
imports: import cupy
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf._lib.transform import mask_to_bools
  from cudf.core.column.column import as_column
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
  from cudf.utils import dtypes
label_desc: Use image node_id 13 for calling a global function with example usage: test_column_view_valid_numeric_to_numeric(data, from_dtype, to_dtype) without return types