pull_requests: 33824307
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33824307 | MDExOlB1bGxSZXF1ZXN0MzM4MjQzMDc= | 399 | closed | 0 | Dataset.to_array and DataArray.to_dataset methods | 1217238 | These methods make it easy to switch back and forth between data arrays and datasets: ``` In [4]: ds = xray.Dataset({'a': 1, 'b': ('x', [1, 2, 3])}, ...: coords={'c': 42}, attrs={'Conventions': 'None'}) ...: In [5]: ds.to_array() Out[5]: <xray.DataArray (variables: 2, x: 3)> array([[1, 1, 1], [1, 2, 3]]) Coordinates: c int64 42 * x (x) int64 0 1 2 * variables (variables) |S1 'a' 'b' Attributes: Conventions: None In [6]: ds.to_array().to_dataset(dim='variables') Out[6]: <xray.Dataset> Dimensions: (x: 3) Coordinates: c int64 42 * x (x) int64 0 1 2 Data variables: a (x) int64 1 1 1 b (x) int64 1 2 3 Attributes: Conventions: None ``` Fixes #132 CC @IamJeffG | 2015-04-22T03:59:56Z | 2015-04-22T04:34:56Z | 2015-04-22T04:34:54Z | 2015-04-22T04:34:54Z | a55a0879dc62a265ae37bd76d540f89566adde82 | 987654 | 0 | 5865da64427fd7b65d47f670e63ba43daaf5e4cb | 24f34c06df42bb302cbe2f585677c2fd30adcc3a | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/399 |
Links from other tables
- 1 row from pull_requests_id in labels_pull_requests