MCPcopy Index your code
hub / github.com/pathwaycom/pathway / test_flatten_empty_lists

Function test_flatten_empty_lists

python/pathway/tests/test_flatten.py:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def test_flatten_empty_lists():
84 tab = T(pd.DataFrame.from_dict({"col": [[], []]}), format="pandas")
85
86 assert_table_equality_wo_index(
87 tab.flatten(this.col, origin_id="origin_id"),
88 Table.empty(col=Any, origin_id=pw.Pointer),
89 )

Callers

nothing calls this directly

Calls 3

TFunction · 0.90
flattenMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected