issue_comments
21 rows where author_association = "MEMBER", issue = 320275317 and user = 6815844 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- implement interp() · 21 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
395608335 | https://github.com/pydata/xarray/pull/2104#issuecomment-395608335 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5NTYwODMzNQ== | fujiisoup 6815844 | 2018-06-08T00:33:56Z | 2018-06-08T00:33:56Z | MEMBER | Merged! Thanks, @shoyer, @fmaussion, @jhamman, for the detailed review. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
395595931 | https://github.com/pydata/xarray/pull/2104#issuecomment-395595931 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5NTU5NTkzMQ== | fujiisoup 6815844 | 2018-06-07T23:20:35Z | 2018-06-07T23:20:35Z | MEMBER | Thanks, @shoyer.
Done! (I thought I reverted this change already...) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
395243708 | https://github.com/pydata/xarray/pull/2104#issuecomment-395243708 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5NTI0MzcwOA== | fujiisoup 6815844 | 2018-06-06T23:18:25Z | 2018-06-06T23:18:25Z | MEMBER |
|
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
394932923 | https://github.com/pydata/xarray/pull/2104#issuecomment-394932923 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5NDkzMjkyMw== | fujiisoup 6815844 | 2018-06-06T04:00:18Z | 2018-06-06T04:00:18Z | MEMBER | Thanks, @shoyer
Thanks. I have not been surprised when Maybe this PR is ready, then. BTW, I noticed that our |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
394532951 | https://github.com/pydata/xarray/pull/2104#issuecomment-394532951 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5NDUzMjk1MQ== | fujiisoup 6815844 | 2018-06-04T23:33:42Z | 2018-06-05T00:56:41Z | MEMBER | Done! But, I am slightly worrying if silently dropping non-numeric array is surprising. Do we have other methods that behave similarly? Or maybe we can raise a warning? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
393761310 | https://github.com/pydata/xarray/pull/2104#issuecomment-393761310 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5Mzc2MTMxMA== | fujiisoup 6815844 | 2018-06-01T05:20:59Z | 2018-06-01T05:20:59Z | MEMBER |
Agreed.
Also agreed. In theory, datetime dtype could be safely interpolated. Maybe we can support this if there is a demand. It might be necessary to consider the same design issue also for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
393032031 | https://github.com/pydata/xarray/pull/2104#issuecomment-393032031 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM5MzAzMjAzMQ== | fujiisoup 6815844 | 2018-05-30T05:08:12Z | 2018-05-30T05:08:12Z | MEMBER | Thanks for the careful review. All done. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
388602254 | https://github.com/pydata/xarray/pull/2104#issuecomment-388602254 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4ODYwMjI1NA== | fujiisoup 6815844 | 2018-05-13T05:15:53Z | 2018-05-13T05:15:53Z | MEMBER | I think this is ready for final review |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
388217237 | https://github.com/pydata/xarray/pull/2104#issuecomment-388217237 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4ODIxNzIzNw== | fujiisoup 6815844 | 2018-05-10T23:37:26Z | 2018-05-10T23:37:26Z | MEMBER |
Agreed. Thanks for the nice suggestion :+1: We have discussed a cheat sheet #1552 previously, but no work has been done yet. I added a simple illustration presenting the difference between advanced- |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
388052465 | https://github.com/pydata/xarray/pull/2104#issuecomment-388052465 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4ODA1MjQ2NQ== | fujiisoup 6815844 | 2018-05-10T13:26:06Z | 2018-05-10T13:26:06Z | MEMBER | @fmaussion , thanks for the example! It's a nicely simple but descriptive example. Updated docs. After your suggestion about attrs, I found a bug in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
388005058 | https://github.com/pydata/xarray/pull/2104#issuecomment-388005058 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4ODAwNTA1OA== | fujiisoup 6815844 | 2018-05-10T09:37:34Z | 2018-05-10T09:37:34Z | MEMBER | Thank you for the double checking :+1:
Agreed.
Is there any problem if we always keep attrs in the interpolation?
BTW, do you have any idea about an example for the new interp feature? It would be nice if we have a good-looking example on the doc. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
387914727 | https://github.com/pydata/xarray/pull/2104#issuecomment-387914727 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4NzkxNDcyNw== | fujiisoup 6815844 | 2018-05-10T00:29:12Z | 2018-05-10T08:45:30Z | MEMBER | Thanks, @fmaussion I didn't realize that scipy.interpolate.interpn does not sort the original coordinates (interp1d does). Thanks for pointing this out!
As the interpolation routine can also be used for non-uniform gridded data, I don't think passing np.arange(NN) to scipy is a good idea (it will change the result if higher order method such as 'cubic' is used).
Instead, I would like to call The new API I would propose is
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
387583395 | https://github.com/pydata/xarray/pull/2104#issuecomment-387583395 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4NzU4MzM5NQ== | fujiisoup 6815844 | 2018-05-09T00:29:36Z | 2018-05-09T00:29:36Z | MEMBER |
I agreed that it would be better to concentrate on structured interpolation only in this PR. I concerned about the interpolation along 1-dimensional but non-dimensional coordinate, which @fmaussion suggested in a review comment. It is actually the structured interpolation, but currently, I do not support this just because of the analogy to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
387576123 | https://github.com/pydata/xarray/pull/2104#issuecomment-387576123 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4NzU3NjEyMw== | fujiisoup 6815844 | 2018-05-08T23:43:29Z | 2018-05-08T23:46:17Z | MEMBER | Thanks, @fmaussion The current design question is
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
387388988 | https://github.com/pydata/xarray/pull/2104#issuecomment-387388988 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4NzM4ODk4OA== | fujiisoup 6815844 | 2018-05-08T12:41:29Z | 2018-05-08T12:41:57Z | MEMBER | Thanks, @fmaussion. I think it is almost ready. The remaining things are + I am looking for a good-looking example for our docs on rtd. + Just before the merge, I'm going to rename missing.py to interp.py so that the filename is more descriptive. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
387295942 | https://github.com/pydata/xarray/pull/2104#issuecomment-387295942 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4NzI5NTk0Mg== | fujiisoup 6815844 | 2018-05-08T06:13:49Z | 2018-05-08T06:13:49Z | MEMBER |
I agreed. I updated some of this PR. The proposed API is
Honestly, I am not very happy with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
386876701 | https://github.com/pydata/xarray/pull/2104#issuecomment-386876701 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4Njg3NjcwMQ== | fujiisoup 6815844 | 2018-05-06T12:41:07Z | 2018-05-06T12:41:07Z | MEMBER | Yes, I am thinking this for multidimensional interpolation of nan-including arrays. (For 1-dimensional interpolation, we can interpolate them row by row) Although this should be another work (PR), I am wondering what the best API is. Is |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
386874264 | https://github.com/pydata/xarray/pull/2104#issuecomment-386874264 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4Njg3NDI2NA== | fujiisoup 6815844 | 2018-05-06T12:00:33Z | 2018-05-06T12:00:33Z | MEMBER |
I did not certainly realize how RegularGridInterpolator works, but it seems to work with nan including array too as you pointed out.
But higher order interpolations (RegularGridInterpolator is
It is the original behavior of I think the addition of the linear interpolation is still nice, but it would be nicer if we could also implement nan-skipping interpolations, which will enable us to use higher order interpolation with nan-including arrays. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
386854560 | https://github.com/pydata/xarray/pull/2104#issuecomment-386854560 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4Njg1NDU2MA== | fujiisoup 6815844 | 2018-05-06T05:13:09Z | 2018-05-06T05:13:09Z | MEMBER | @shoyer ,
Yes, In [2]: # 'linear' works as expected ...: interp1d(x, y, kind='linear')([0.5, 1.5]) ...: Out[2]: array([0.5, nan]) In [3]: # 'cubic' returns an all nan array ...: interp1d(x, y, kind='cubic')([0.5, 1.5]) ...: Out[3]: array([nan, nan]) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
386796193 | https://github.com/pydata/xarray/pull/2104#issuecomment-386796193 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4Njc5NjE5Mw== | fujiisoup 6815844 | 2018-05-05T10:37:12Z | 2018-05-05T10:37:12Z | MEMBER | Maybe the possible API would be
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 | |
386744768 | https://github.com/pydata/xarray/pull/2104#issuecomment-386744768 | https://api.github.com/repos/pydata/xarray/issues/2104 | MDEyOklzc3VlQ29tbWVudDM4Njc0NDc2OA== | fujiisoup 6815844 | 2018-05-04T21:53:05Z | 2018-05-04T21:53:05Z | MEMBER | @jhamman,
Agreed. I will try to generalize your interpolator-adaptor more. @shoyer
Agreed.
I meant 1.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
implement interp() 320275317 |
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