code: def test_list_scalar_device_construction_null(nesting_level):
      data = [[]]
      for i in range(nesting_level - 1):
          data = [data]
  
      arrow_type = pa.infer_type(data)
      arrow_arr = pa.array([None], type=arrow_type)
  
      col = cudf.Series(arrow_arr)._column
      slr = get_element(col, 0)
  
      assert slr.value is cudf.NA
  
imports: import functools
  import operator
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf import NA
  from cudf._lib.copying import get_element
  from cudf.api.types import is_scalar
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 35 for calling a global function with example usage: test_list_scalar_device_construction_null(nesting_level) without return types