home / github / pull_requests

Menu
  • GraphQL API
  • Search all tables

pull_requests: 184495028

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
184495028 MDExOlB1bGxSZXF1ZXN0MTg0NDk1MDI4 2087 closed 0 Drop conflicted coordinate when assignment. 6815844 - [x] Closes #2068 - [x] Tests added - [x] Tests passed - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later) After this, when assigning a dataarray to a dataset, non-dimensional and conflicted coordinates of the dataarray are dropped. example ``` In [2]: ds = xr.Dataset({'da': ('x', [0, 1, 2])}, ...: coords={'y': (('x',), [0.1, 0.2, 0.3])}) ...: ds ...: Out[2]: <xarray.Dataset> Dimensions: (x: 3) Coordinates: y (x) float64 0.1 0.2 0.3 Dimensions without coordinates: x Data variables: da (x) int64 0 1 2 In [3]: other = ds['da'] ...: other['y'] = 'x', [0, 1, 2] # conflicted non-dimensional coordinate ...: ds['da'] = other ...: ds ...: Out[3]: <xarray.Dataset> Dimensions: (x: 3) Coordinates: y (x) float64 0.1 0.2 0.3 # 'y' is not overwritten Dimensions without coordinates: x Data variables: da (x) int64 0 1 2 ``` 2018-04-27T00:12:43Z 2018-05-02T05:58:41Z 2018-05-02T02:31:02Z 2018-05-02T02:31:02Z 0cc64a08c672e6361d05acea3fea9f34308b62ed     0 6e26ad1df7ba1309cd547896b3c571e2dd5b2a40 d1e1440dc5d0bc9c341da20fde85b56f2a3c1b5b MEMBER   13221727 https://github.com/pydata/xarray/pull/2087  

Links from other tables

  • 0 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.781ms