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

Function f

dask/dataframe/dask_expr/tests/test_collection.py:398–399  ·  view source on GitHub ↗
(x, y, z=0)

Source from the content-addressed store, hash-verified

396 ddf = from_pandas(df, npartitions=4)
397
398 def f(x, y, z=0):
399 return x + y + z
400
401 assert_eq(ddf.pipe(f, 1, z=2), f(ddf, 1, z=2))
402 assert_eq(ddf.x.pipe(f, 1, z=2), f(ddf.x, 1, z=2))

Callers 2

test_pipeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected