issue_comments
1 row where issue = 359679690 and user = 13301940 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Indexing not properly working with object dtype element ? · 1 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
792294554 | https://github.com/pydata/xarray/issues/2414#issuecomment-792294554 | https://api.github.com/repos/pydata/xarray/issues/2414 | MDEyOklzc3VlQ29tbWVudDc5MjI5NDU1NA== | andersy005 13301940 | 2021-03-07T15:13:34Z | 2021-03-07T15:13:34Z | MEMBER | Unless I am missing something, this appears to have been addressed: ```python In [1]: import xarray as xr import numpy as np In [2]: import numpy as np In [3]: er = xr.DataArray(np.array((np.arange(3), np.arange(6)))) <ipython-input-3-64075f0108e0>:3: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. er = xr.DataArray(np.array((np.arange(3), np.arange(6)))) In [4]: er Out[4]: <xarray.DataArray (dim_0: 2)> array([array([0, 1, 2]), array([0, 1, 2, 3, 4, 5])], dtype=object) Dimensions without coordinates: dim_0 ``` ```python In [6]: er.data[0] Out[6]: array([0, 1, 2]) In [7]: er[0] Out[7]: <xarray.DataArray ()> array(array([0, 1, 2]), dtype=object) In [8]: er[1] Out[8]: <xarray.DataArray ()> array(array([0, 1, 2, 3, 4, 5]), dtype=object) In [9]: xr.version Out[9]: '0.17.0' In [10]: np.version Out[10]: '1.20.1' ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Indexing not properly working with object dtype element ? 359679690 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1