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

Function test_gh_517

dask/dataframe/tests/test_dataframe.py:2694–2701  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2692
2693
2694def test_gh_517():
2695 arr = np.random.randn(100, 2)
2696 df = pd.DataFrame(arr, columns=["a", "b"])
2697 ddf = dd.from_pandas(df, 2)
2698 assert ddf.index.nunique().compute() == 100
2699
2700 ddf2 = dd.from_pandas(pd.concat([df, df]), 5)
2701 assert ddf2.index.nunique().compute() == 100
2702
2703
2704def test_drop_axis_1():

Callers

nothing calls this directly

Calls 2

computeMethod · 0.45
nuniqueMethod · 0.45

Tested by

no test coverage detected