{"database": "github", "table": "issue_comments", "rows": [["https://github.com/pydata/xarray/issues/1123#issuecomment-260744511", "https://api.github.com/repos/pydata/xarray/issues/1123", 260744511, "MDEyOklzc3VlQ29tbWVudDI2MDc0NDUxMQ==", 6333189, "2016-11-15T19:40:20Z", "2016-11-15T19:40:20Z", "NONE", "Ok, nevermind, I've re-read the documentation and I just checked that I need to use the update method. Thus, the last line should be replaced with:\n\n``` python\nds.update(ds[['varA', 'varB']] - ds[['varA', 'varB']].mean(dim='time'))\n```\n\nand it works as intended.\n\nProbably that the way to assign several variables at once in a Dataset should be emphasized in the documentation with an example.\n\nThanks.\n", "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", null, 189481649]], "columns": ["html_url", "issue_url", "id", "node_id", "user", "created_at", "updated_at", "author_association", "body", "reactions", "performed_via_github_app", "issue"], "primary_keys": ["id"], "primary_key_values": ["260744511"], "units": {}, "query_ms": 77.39596600004006}