def METHOD_NAME():
    a = sc.arange('xx', 5)
    ds = sc.Dataset({'a': a}, coords={'xx': sc.arange('xx', 0, 10, 2)})
    assert sc.identical(ds['xx', 1:-1]['a'].data, a['xx', 1:-1])
    assert sc.identical(ds['xx', 1:]['a'].data, a['xx', 1:])
    assert sc.identical(ds['xx', :-1]['a'].data, a['xx', :-1])
    assert sc.identical(ds['xx', :]['a'].data, a['xx', :])