code: def test_dropna_subset(axis, expected):
      td = TabularData(["col-1", "col-2", "col-3"])
      td.extend([["foo"], ["foo", "bar"], ["foo", "bar", "foobar"]])
      td.dropna(axis, subset=["col-1", "col-2"])
      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 9 for calling a global function with example usage: test_dropna_subset(axis, expected) without return types