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

Function test_drop_columns

python/pathway/tests/test_common.py:1274–1292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1272
1273
1274def test_drop_columns():
1275 old = T(
1276 """
1277 pet | owner | age | weight
1278 1 | Bob | 11 | 7
1279 1 | Eve | 10 | 11
1280 2 | Eve | 15 | 13
1281 """
1282 )
1283 new = old.without(old.pet, old.age, pw.this.owner)
1284 expected = T(
1285 """
1286 weight
1287 7
1288 11
1289 13
1290 """
1291 )
1292 assert_table_equality(new, expected)
1293
1294
1295def test_filter():

Callers

nothing calls this directly

Calls 2

TFunction · 0.90
withoutMethod · 0.45

Tested by

no test coverage detected