code: def test_logical_parallel_list_collect() -> None:
      # this triggers the anonymous builder in par collect
      out = (
          pl.DataFrame(
              {
                  "Group": ["GroupA", "GroupA", "GroupA"],
                  "Values": ["Value1", "Value2", "Value1"],
              },
              schema_overrides={"Values": pl.Categorical},
          )
          .group_by("Group")
          .agg(pl.col("Values").value_counts(sort=True))
          .explode("Values")
          .unnest("Values")
      )
      assert out.dtypes == [pl.String, pl.Categorical, pl.UInt32]
      assert out.to_dict(as_series=False) == {
          "Group": ["GroupA", "GroupA"],
          "Values": ["Value1", "Value2"],
          "count": [2, 1],
      }
  
imports: from __future__ import annotations
  import pickle
  from datetime import date, datetime, time
  from typing import TYPE_CHECKING, Any
  import pandas
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 28 for calling a global function with example usage: test_logical_parallel_list_collect() without return types