issues: 156072065
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 156072065 | MDExOlB1bGxSZXF1ZXN0NzA5MzI2Mzc= | 852 | BUG: Stringify DS attrs in dir | 5635139 | closed | 0 | 9 | 2016-05-21T00:07:23Z | 2016-08-10T01:15:31Z | 2016-08-10T01:13:50Z | MEMBER | 0 | pydata/xarray/pulls/852 | Previously: ``` python In [21]: ds Out[21]: <xarray.Dataset> Dimensions: (abc: 3) Coordinates: * abc (abc) int64 0 1 2 Data variables: 0 (abc) float64 0.3168 0.1132 0.6664 1 (abc) float64 0.9799 0.9663 0.01084 2 (abc) float64 0.9171 0.6848 0.5028 In [22]: dir(ds)TypeError Traceback (most recent call last) <ipython-input-22-fd55ce5c03db> in <module>() ----> 1 dir(ds) /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/xarray/core/common.py in dir(self) 157 extra_attrs = [item for sublist in self._attr_sources 158 for item in sublist] --> 159 return sorted(set(dir(type(self)) + extra_attrs)) 160 161 TypeError: unorderable types: numpy.ndarray() > str() ``` |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
13221727 | pull |