code: def test_column_view_nulls_widths_even():
      data = [1, 2, None, 4, None]
      expect_data = [
          np.int32(val).view("float32") if val is not None else np.nan
          for val in data
      ]
  
      sr = cudf.Series(data, dtype="int32")
      expect = cudf.Series(expect_data, dtype="float32")
      got = cudf.Series(sr._column.view("float32"))
  
      assert_eq(expect, got)
  
      data = [None, 2.1, None, 5.3, 8.8]
      expect_data = [
          np.float64(val).view("int64") if val is not None else val
          for val in data
      ]
  
      sr = cudf.Series(data, dtype="float64")
      expect = cudf.Series(expect_data, dtype="int64")
      got = cudf.Series(sr._column.view("int64"))
  
      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 16 for calling a global function with example usage: test_column_view_nulls_widths_even() without return types