code: def test_list_hash() -> None:
      out = pl.DataFrame(
          {"a": [[1, 2, 3], [3, 4], [1, 2, 3]]}
      ).with_columns(pl.col("a").hash().alias("b"))
      assert out.dtypes == [pl.List(pl.Int64), pl.UInt64]
      assert out[0, "b"] == out[2, "b"]
  
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 8 for calling a global function with example usage: test_list_hash() without return types