issues: 63634045
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
63634045 | MDExOlB1bGxSZXF1ZXN0MzE3MDY4OTU= | 380 | ENH: Add Dataset.assign and .assign_coords | 1217238 | closed | 0 | 1028398 | 0 | 2015-03-23T06:04:13Z | 2015-03-23T18:42:45Z | 2015-03-23T18:42:43Z | MEMBER | 0 | pydata/xarray/pulls/380 | Fixes #314 Based off the new pandas method of the same name. An example: ``` In [3]: ds = xray.Dataset({'y': ('x', [1, 2, 3])}) In [4]: ds.assign(z = lambda x: x.y ** 2) Out[4]: <xray.Dataset> Dimensions: (x: 3) Coordinates: * x (x) int64 0 1 2 Data variables: y (x) int64 1 2 3 z (x) int64 1 4 9 ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/380/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |