def test_set_index_nan_partition():
    d[(d.a > 3)].set_index('a')
    d[(d.a > 1)].set_index('a', sorted=True)
    a = d[(d.a > 3)].set_index('a', sorted=True)
    assert_eq(a, a)
def test_set_index_nan_partition():
    d[(d.a > 3)].set_index('a')
    d[(d.a > 1)].set_index('a', sorted=True)
    a = d[(d.a > 3)].set_index('a', sorted=True)
    assert_eq(a, a)