code: def test_pickle_categorical_column(slices):
      sr = Series(["a", "b", None, "a", "c", "b"]).astype("category")
      sliced_sr = sr.iloc[slices]
      input_col = sliced_sr._column
  
      pickled = pickle.dumps(input_col)
      out = pickle.loads(pickled)
  
      assert_eq(Series(out), Series(input_col))
  
file_path: cudf/python/cudf/cudf/tests/test_pickling.py
imports: import pickle
  import numpy
  import pandas
  import pytest
  from cudf import DataFrame, GenericIndex, RangeIndex, Series
  from cudf.core.buffer import as_buffer
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 9 for calling a global function with example usage: test_pickle_categorical_column(slices) without return types