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/5048#issuecomment-804363539,https://api.github.com/repos/pydata/xarray/issues/5048,804363539,MDEyOklzc3VlQ29tbWVudDgwNDM2MzUzOQ==,1217238,2021-03-22T20:14:47Z,2021-03-22T20:14:47Z,MEMBER,"NumPy has ""select"" and ""choose"" for this, but I don't really love either of those APIs, either. Maybe `replace_in_data` or `update_data` would be appropriate names for a `DataArray` method that uses a dictionary as an argument? Then updating a coordinate would be solved with something like: e.g., ```python da['two'] = da['two'].replace_in_data({'dd': 'd'}) ```","{""total_count"": 3, ""+1"": 3, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,834273555