def test_set_index_2(shuffle_method):
    df = dd.demo.make_timeseries('2000', '2004', {'value': float, 'name': str, 'id': int}, freq='2H', partition_freq='1M', seed=1)
    df2 = df.set_index('name', shuffle=shuffle_method)
    df2.value.sum().compute(scheduler='sync')
def test_set_index_2(shuffle_method):
    df = dd.demo.make_timeseries('2000', '2004', {'value': float, 'name': str, 'id': int}, freq='2H', partition_freq='1M', seed=1)
    df2 = df.set_index('name', shuffle=shuffle_method)
    df2.value.sum().compute(scheduler='sync')