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/7385#issuecomment-1468814437,https://api.github.com/repos/pydata/xarray/issues/7385,1468814437,IC_kwDOAMm_X85XjFRl,2448579,2023-03-14T20:43:00Z,2023-03-14T20:43:00Z,MEMBER,"> Is this behavior (filling with fill_value -> inserting Nans) because they share common dimensionality in terms of name, but have different coordinate values?
Yes broadcasting is doing alignment with outer join by default: https://github.com/pydata/xarray/issues/6304. This is conceptually pretty confusing.
I agree we should document this.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1499473190
https://github.com/pydata/xarray/issues/7385#issuecomment-1358892699,https://api.github.com/repos/pydata/xarray/issues/7385,1358892699,IC_kwDOAMm_X85Q_w6b,2448579,2022-12-20T06:21:20Z,2022-12-20T06:21:20Z,MEMBER,"`to_array` is [adding a new dimension](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.to_array.html) `variable` with values `a`, `b` respectively.
Now when you align these, NaNs are inserted. I would insert a `squeeze` after `to_array()`","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1499473190