code: def test_drop_duplicates_rich_text():
      from dvc.ui import ui
  
      td = TabularData(["col-1", "col-2", "col-3"], fill_value="-")
  
      td.extend(
          [
              ["foo", None, ui.rich_text("-")],
              ["foo", "foo"],
              ["foo", "foo"],
              ["foo", "bar", "foobar"],
          ]
      )
  
      assert list(td) == [
          ["foo", "-", ui.rich_text("-")],
          ["foo", "foo", "-"],
          ["foo", "foo", "-"],
          ["foo", "bar", "foobar"],
      ]
  
      td.drop_duplicates("cols")
  
      assert list(td) == [["-"], ["foo"], ["foo"], ["bar"]]
  
file_path: dvc/tests/unit/test_tabular_data.py
imports: import pytest
  from dvc.compare import TabularData
label_desc: Use image node_id 11 for calling a global function with example usage: test_drop_duplicates_rich_text() without return types