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