MCPcopy
hub / github.com/dask/dask / test_copy

Function test_copy

dask/dataframe/dask_expr/tests/test_collection.py:1295–1302  ·  view source on GitHub ↗
(df)

Source from the content-addressed store, hash-verified

1293
1294
1295def test_copy(df):
1296 original = df.copy()
1297 columns = tuple(original.columns)
1298
1299 df["z"] = df.x + df.y
1300
1301 assert tuple(original.columns) == columns
1302 assert "z" not in original.columns
1303
1304
1305def test_partitions(pdf, df):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…