MCPcopy Create free account
hub / github.com/dask/dask / test_copy

Function test_copy

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

Source from the content-addressed store, hash-verified

1347
1348
1349def test_copy(df):
1350 original = df.copy()
1351 columns = tuple(original.columns)
1352
1353 df["z"] = df.x + df.y
1354
1355 assert tuple(original.columns) == columns
1356 assert "z" not in original.columns
1357
1358
1359def test_partitions(pdf, df):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected