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/6439#issuecomment-1115118516,https://api.github.com/repos/pydata/xarray/issues/6439,1115118516,IC_kwDOAMm_X85Cd1u0,43316012,2022-05-02T16:54:25Z,2022-05-02T16:54:25Z,COLLABORATOR,"Just a tip: You don't need any stacking for that.
Just use an indexer with a new dim:
```python
diag = xr.DataArray(np.arange(12), dims=""diag"")
test.isel(dim0=diag, adj_dim0=diag)
```
this should do the trick ;)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1192449540