html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/7099#issuecomment-1260905662,https://api.github.com/repos/pydata/xarray/issues/7099,1260905662,IC_kwDOAMm_X85LJ-S-,14808389,2022-09-28T13:20:38Z,2022-09-28T13:20:38Z,MEMBER,"another option would be to allow passing a custom object, like ```python class Indexer: def __init__(self, indexer, **options): ... ds.sel(x=Indexer([0, 2], method=""nearest"")) ``` I think we wanted to have something like that, anyways, to be able to specify other behaviors of a slice, like right-exclusive?","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1389295853