code: def test_construction_series_with_nulls(input_obj):
      expect = pa.array(input_obj, from_pandas=True)
      got = cudf.Series(input_obj).to_arrow()
  
      assert expect == got
  
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 36 for calling a global function with example usage: test_construction_series_with_nulls(input_obj) without return types