id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 203630267,MDU6SXNzdWUyMDM2MzAyNjc=,1234,`where` grows new dimensions for unrelated variables,500246,open,0,,,5,2017-01-27T13:02:34Z,2022-04-18T16:04:16Z,,CONTRIBUTOR,,,,"In the example below, the dimensionality for data variable `y` grows from `(b)` to `(b, a)` after calling the dataset `where` method. This behaviour does not appear to be documented. Is it a bug? ``` In [46]: ds = xarray.Dataset({""x"": ((""a"", ""b""), arange(25).reshape(5,5)+100), ""y"": (""b"", arange(5)-100)}, {""a"": arange(5), ""b"": arange(5)*2, ""c"": ((""a"",), list(""ABCDE""))}) In [47]: print(ds) Dimensions: (a: 5, b: 5) Coordinates: * b (b) int64 0 2 4 6 8 c (a) ='A') & (ds.c<='C')) Out[69]: Dimensions: (a: 5, b: 5) Coordinates: * b (b) int64 0 2 4 6 8 c (a)