pull_requests: 15862044
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15862044 | MDExOlB1bGxSZXF1ZXN0MTU4NjIwNDQ= | 128 | closed | 0 | Expose more information in DataArray.__repr__ | 1217238 | This PR changes the `DataArray` representation so that it displays more of the information associated with a data array: - "Coordinates" are indicated by their name and the `repr` of the corresponding pandas.Index object (to indicate how they are used as indices). - "Linked" dataset variables are also listed. - These are other variables in the dataset associated with a DataArray which are also indexed along with the DataArray. - They accessible from the `dataset` attribute or by indexing the data array with a string. - Perhaps their most convenient aspect is that they enable [`groupby` operations by name](http://xray.readthedocs.org/en/latest/tutorial.html#apply) for DataArray objets. - This is an admitedly somewhat confusing (though convenient) notion that I am considering [removing](https://github.com/xray- pydata/xray/issues/117), but we if we don't remove them we should certainly expose their existence more clearly, given the potential benefits in expressiveness and costs in performance. Questions to resolve: - Is "Linked dataset variables" the best name for these? - Perhaps it would be useful to show more information about these linked variables, such as their dimensions and/or shape? Examples of the new repr are on nbviewer: http://nbviewer.ipython.org/gist/shoyer/94936e5b71613683d95a | 2014-05-14T06:05:53Z | 2014-08-01T05:54:50Z | 2014-05-29T04:19:46Z | 2014-05-29T04:19:46Z | 166ba9652e44423de902351d65e94216f5d8125a | 650893 | 0 | 238cb2a3d360e4dc0977c0e37758faf62e262fab | ed3143e3082ba339d35dc4678ddabc7e175dd6b8 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/128 |
Links from other tables
- 1 row from pull_requests_id in labels_pull_requests