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

Function check

dask/dataframe/tests/test_dataframe.py:1056–1059  ·  view source on GitHub ↗
(df, df_x)

Source from the content-addressed store, hash-verified

1054 ddf = dd.from_pandas(df, npartitions=1)
1055
1056 def check(df, df_x):
1057 assert len(df) == len(df_x)
1058 assert len(df) > 0
1059 return df
1060
1061 res = dd.map_partitions(check, ddf, ddf.x)
1062 assert_eq(res, ddf)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected