code: def test_serde_categorical_series_10586() -> None:
      s = pl.Series(["a", "b", "b", "a", "c"], dtype=pl.Categorical)
      loaded_s = pickle.loads(pickle.dumps(s))
      assert_series_equal(loaded_s, s)
  
imports: from __future__ import annotations
  import io
  import pickle
  from datetime import datetime, timedelta
  import pytest
  import polars
  from polars import StringCache
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 17 for calling a global function with example usage: test_serde_categorical_series_10586() without return types