code: def test_join_suffix_collision_9562() -> None:
      df = pl.DataFrame(
          {
              "foo": [1, 2, 3],
              "bar": [6.0, 7.0, 8.0],
              "ham": ["a", "b", "c"],
          }
      )
      other_df = pl.DataFrame(
          {
              "apple": ["x", "y", "z"],
              "ham": ["a", "b", "d"],
          }
      )
      df.join(other_df, on="ham")
      assert df.lazy().join(
          other_df.lazy(),
          how="inner",
          left_on="ham",
          right_on="ham",
          suffix="m",
      ).select("ham").collect().to_dict(as_series=False) == {
          "ham": ["a", "b"]
      }
  
file_path: polars/py-polars/tests/unit/test_projections.py
imports: import numpy
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 13 for calling a global function with example usage: test_join_suffix_collision_9562() without return types