()
| 2692 | |
| 2693 | |
| 2694 | def 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 | |
| 2704 | def test_drop_axis_1(): |