code: def test_sizeof_packed_dataframe():
      np.random.seed(0)
      df = DataFrame()
      nelem = 1000
      df["keys"] = hkeys = np.arange(nelem, dtype=np.float64)
      df["vals"] = hvals = np.random.random(nelem)
      packed = pack(df)
  
      nbytes = hkeys.nbytes + hvals.nbytes
      sizeof = sys.getsizeof(packed)
      assert sizeof < nbytes
  
      serialized_nbytes = len(
          pickle.dumps(packed, protocol=pickle.HIGHEST_PROTOCOL)
      )
  
      # assert at least sizeof bytes were serialized
      assert serialized_nbytes >= sizeof
  
imports: import pickle
  import sys
  import numpy
  import pandas
  from cudf import DataFrame, GenericIndex, Series
  from cudf._lib.copying import pack, unpack
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 1 for calling a global function with example usage: test_sizeof_packed_dataframe() without return types