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/3910#issuecomment-614146417,https://api.github.com/repos/pydata/xarray/issues/3910,614146417,MDEyOklzc3VlQ29tbWVudDYxNDE0NjQxNw==,31126826,2020-04-15T16:35:46Z,2020-04-15T16:35:46Z,CONTRIBUTOR,"Well actually, I would be at least as surprised if `A += B` returned a different result than `A = A + B`.
So now I understand why this is not supported. I'll submit the PR soon.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,589632313
https://github.com/pydata/xarray/issues/3910#issuecomment-606100412,https://api.github.com/repos/pydata/xarray/issues/3910,606100412,MDEyOklzc3VlQ29tbWVudDYwNjEwMDQxMg==,31126826,2020-03-30T16:22:04Z,2020-03-30T16:22:04Z,CONTRIBUTOR,"Yes. But the not-in-place addition `A+B` works fine without conversion to float because it uses basically `xr.align(A, B, join='inner')`. If the in-place addition did the same, there would be no risk of type conversion. But I guess the in-place version would rather use something like `xr.align(A, B, join='left')` to guarantee that the shape and index of `A` does not change. Am I right?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,589632313
https://github.com/pydata/xarray/issues/3910#issuecomment-605847162,https://api.github.com/repos/pydata/xarray/issues/3910,605847162,MDEyOklzc3VlQ29tbWVudDYwNTg0NzE2Mg==,31126826,2020-03-30T08:06:32Z,2020-03-30T08:06:32Z,CONTRIBUTOR,"I can submit a PR. But the comment cited above is not totally clear to me.
The purpose of the conversion to floats is to have NaNs in case the shapes do not match. So the core of the issue is that A + B might not have the same shape as A, and thus in general A + B cannot replace A in-place.
Is that right?
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,589632313