issue_comments: 346106494
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/1726#issuecomment-346106494 | https://api.github.com/repos/pydata/xarray/issues/1726 | 346106494 | MDEyOklzc3VlQ29tbWVudDM0NjEwNjQ5NA== | 3621629 | 2017-11-21T17:47:44Z | 2017-11-21T19:41:46Z | CONTRIBUTOR | I dug it a bit further. Contrary to what I said numpy is fine. If ```python np.array(x.mean()) -> array(2.0)np.array([x.mean()]) -> array([2.0])np.array(x) -> ok```
```python pd.Series(2) okpd.Series(x.mean()) -> TypeError: len() of unsized objectpd.Series([x.mean()]) -> dtype=objecthowever for 1D xpd.Series(x) dtype is fine``` Something looks a bit odd to me. But it looks more like a pandas issue |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
274996832 |