code: def test_edge_cast_string_duplicates_4259() -> None:
      # carefully constructed data.
      # note that row 2, 3 concatenated are the same string ('5461214484')
      df = pl.DataFrame(
          {
              "a": [99, 54612, 546121],
              "b": [1, 14484, 4484],
          }
      ).with_columns(pl.all().cast(pl.String))
  
      mask = df.select(["a", "b"]).is_duplicated()
      df_filtered = df.filter(pl.lit(mask))
  
      assert df_filtered.shape == (0, 2)
      assert df_filtered.rows() == []
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  from typing import Any
  import numpy
  import pandas
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 14 for calling a global function with example usage: test_edge_cast_string_duplicates_4259() without return types