MCPcopy
hub / github.com/treeverse/dvc / test_dropna_subset

Function test_dropna_subset

tests/unit/test_tabular_data.py:248–252  ·  view source on GitHub ↗
(axis, expected)

Source from the content-addressed store, hash-verified

246 ],
247)
248def test_dropna_subset(axis, expected):
249 td = TabularData(["col-1", "col-2", "col-3"])
250 td.extend([["foo"], ["foo", "bar"], ["foo", "bar", "foobar"]])
251 td.dropna(axis, subset=["col-1", "col-2"])
252 assert list(td) == expected
253
254
255@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

extendMethod · 0.95
dropnaMethod · 0.95
TabularDataClass · 0.90

Tested by

no test coverage detected