issue_comments
7 rows where issue = 199816142 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Problem with creating coords by dict · 7 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
326144658 | https://github.com/pydata/xarray/issues/1197#issuecomment-326144658 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDMyNjE0NDY1OA== | shoyer 1217238 | 2017-08-30T23:12:59Z | 2017-08-30T23:12:59Z | MEMBER |
Sure, that seems reasonable to me. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
326136580 | https://github.com/pydata/xarray/issues/1197#issuecomment-326136580 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDMyNjEzNjU4MA== | jhamman 2443309 | 2017-08-30T22:25:55Z | 2017-08-30T22:25:55Z | MEMBER |
@shoyer - Do we still want to deprecate this behavior in v0.10? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
271928169 | https://github.com/pydata/xarray/issues/1197#issuecomment-271928169 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDI3MTkyODE2OQ== | shoyer 1217238 | 2017-01-11T17:07:23Z | 2017-01-11T17:07:23Z | MEMBER | @SpghttCd Yes, I was confused. I missed that you were writing On master (and in the next release of xarray), we do indeed issue a warning here as @fmaussion points out. Unfortunately, we did support this behavior in prior releases of xarray (especially with an |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
271904169 | https://github.com/pydata/xarray/issues/1197#issuecomment-271904169 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDI3MTkwNDE2OQ== | fmaussion 10050469 | 2017-01-11T15:47:50Z | 2017-01-11T15:47:50Z | MEMBER | @shoyer maybe changing the warning into an error would be the way to go now? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
271903682 | https://github.com/pydata/xarray/issues/1197#issuecomment-271903682 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDI3MTkwMzY4Mg== | fmaussion 10050469 | 2017-01-11T15:46:19Z | 2017-01-11T15:46:37Z | MEMBER | Note that the recommended to build data arrays is to specify the dimensions names explicitly:
on master, failing to do so results in a
ValueError Traceback (most recent call last) <ipython-input-12-501c20b8b785> in <module>() ----> 1 xr.DataArray(np.zeros([1, 2, 3]), {'x': [1], 'y': [1, 2], 'z': [1, 2, 3]}) /home/mowglie/Documents/git/xarray/xarray/core/dataarray.py in init(self, data, coords, dims, name, attrs, encoding, fastpath) 219 220 data = as_compatible_data(data) --> 221 coords, dims = _infer_coords_and_dims(data.shape, coords, dims) 222 variable = Variable(dims, data, attrs, encoding, fastpath=True) 223 /home/mowglie/Documents/git/xarray/xarray/core/dataarray.py in _infer_coords_and_dims(shape, coords, dims) 83 raise ValueError('conflicting sizes for dimension %r: ' 84 'length %s on the data but length %s on ' ---> 85 'coordinate %r' % (d, sizes[d], s, k)) 86 87 assert_unique_multiindex_level_names(new_coords) ValueError: conflicting sizes for dimension 'y': length 1 on the data but length 2 on coordinate 'y' ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
271864879 | https://github.com/pydata/xarray/issues/1197#issuecomment-271864879 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDI3MTg2NDg3OQ== | SpghttCd 25030860 | 2017-01-11T13:12:32Z | 2017-01-11T13:12:32Z | NONE | Hello, thanks for the immediate reply - and to seize the opportunity: thanks for this really great library, which I think will be the enabler for me to - finally - use netCDF4 for my measurement facility like I wished for years now.
However, I have to disagree in your point regarding the not fitting dimensions in the DataArray definition. np.zeros() will for sure return an n-dimensional array when called with a length-n list as argument, which I did with n=3 and the list [1,2,3].
I.e. calling Besides, the working alternatives with tuples or the OrderedDict use the very same dummy array for initializing in the example above. Further I estimate the 0.8.2-error-message completely consistent: it (silently) acknowledges that there are three dimensions in both the zeros-array and the coords by reporting a problem about not fitting lengths of the third one of each, 'z'. Though by adding a one-dimensional dims-definition, you turn the following error messages away from the original problem, now indeed introducing an inconsistency in dimensions between dims and data. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 | |
271715645 | https://github.com/pydata/xarray/issues/1197#issuecomment-271715645 | https://api.github.com/repos/pydata/xarray/issues/1197 | MDEyOklzc3VlQ29tbWVudDI3MTcxNTY0NQ== | shoyer 1217238 | 2017-01-10T22:16:33Z | 2017-01-10T22:16:33Z | MEMBER | You shouldn't be able to make a DataArray like this -- you have three dimensions on coordinates, but only one dimension on the array itself. With xarray 0.8.2, you get an error message with your example:
I still need to test this on the dev version, but for now I will make this as an error reporting bug. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem with creating coords by dict 199816142 |
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 4