issue_comments
19 rows where issue = 129286220 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Add tensordot to dataarray class also add its test to test_dataarray · 19 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
192114105 | https://github.com/pydata/xarray/pull/731#issuecomment-192114105 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE5MjExNDEwNQ== | jhamman 2443309 | 2016-03-04T05:39:13Z | 2016-03-04T05:39:13Z | MEMBER | +1 on releasing 0.7.2. If we can get #782 in there too, that would be great. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
192110026 | https://github.com/pydata/xarray/pull/731#issuecomment-192110026 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE5MjExMDAyNg== | shoyer 1217238 | 2016-03-04T05:23:00Z | 2016-03-04T05:23:00Z | MEMBER | OK, let's get this in. @deanpospisil thanks for your contribution! @jhamman I'm thinking it's probably worth issuing a 0.7.2 release shortly so we can get |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
192107773 | https://github.com/pydata/xarray/pull/731#issuecomment-192107773 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE5MjEwNzc3Mw== | deanpospisil 15167171 | 2016-03-04T05:09:54Z | 2016-03-04T05:09:54Z | NONE | Alright, I think it's ready! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
189529053 | https://github.com/pydata/xarray/pull/731#issuecomment-189529053 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE4OTUyOTA1Mw== | shoyer 1217238 | 2016-02-26T23:45:42Z | 2016-02-26T23:45:42Z | MEMBER | I made two very minor suggestions for improvement inline, but I think the code here looks ready! The only thing we need at now is hook up the documentation! Please add |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
189476736 | https://github.com/pydata/xarray/pull/731#issuecomment-189476736 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE4OTQ3NjczNg== | deanpospisil 15167171 | 2016-02-26T20:44:05Z | 2016-02-26T20:44:05Z | NONE | Ready for review. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
184041128 | https://github.com/pydata/xarray/pull/731#issuecomment-184041128 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE4NDA0MTEyOA== | shoyer 1217238 | 2016-02-15T03:01:22Z | 2016-02-15T03:01:57Z | MEMBER | I'm pleased to see how this is coming along. No need to apologize for the delay -- this stuff takes time and practice to figure out :). I'd like to see more test cases so we can be confident this works properly. At the very least, we should test a In generally, it's hard to have too many tests. One indication that you may not have enough tests comes from the "coveralls" status check, which you can find if you click on "Show all checks" at the bottom of the PR. Ideally, each PR should only increase, not decrease code coverage -- the idea is that unit tests should run over every possible code pathway. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
183784767 | https://github.com/pydata/xarray/pull/731#issuecomment-183784767 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE4Mzc4NDc2Nw== | deanpospisil 15167171 | 2016-02-14T01:15:49Z | 2016-02-14T01:15:49Z | NONE | Alright I think I got rebase to work, apologies for the delay. There were some comments I wasn't sure about how to integrate, I asked about them, but I figured the best way to keep moving forward was to push my best guess at what you meant. So we might need to go through one more round of comments. Thanks for being patient! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
178705897 | https://github.com/pydata/xarray/pull/731#issuecomment-178705897 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3ODcwNTg5Nw== | shoyer 1217238 | 2016-02-02T17:36:11Z | 2016-02-02T17:36:11Z | MEMBER | You'll need to squash these into one commit ( |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
178686155 | https://github.com/pydata/xarray/pull/731#issuecomment-178686155 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3ODY4NjE1NQ== | shoyer 1217238 | 2016-02-02T16:58:02Z | 2016-02-02T16:58:02Z | MEMBER | I recommend running a tool like PEP8 to check the style here: https://pypi.python.org/pypi/pep8 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
178379984 | https://github.com/pydata/xarray/pull/731#issuecomment-178379984 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3ODM3OTk4NA== | deanpospisil 15167171 | 2016-02-02T05:12:33Z | 2016-02-02T05:12:33Z | NONE | Thanks! Good comments, should help with my next pull request. : ) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
178299486 | https://github.com/pydata/xarray/pull/731#issuecomment-178299486 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3ODI5OTQ4Ng== | shoyer 1217238 | 2016-02-02T01:38:37Z | 2016-02-02T01:38:37Z | MEMBER | a few more comments forthcoming, generally looks very good, though |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
178299410 | https://github.com/pydata/xarray/pull/731#issuecomment-178299410 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3ODI5OTQxMA== | shoyer 1217238 | 2016-02-02T01:38:10Z | 2016-02-02T01:38:10Z | MEMBER | Take a look at PEP8 guidelines on spaces -- you are inserting a few extras around your parentheses :) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176955192 | https://github.com/pydata/xarray/pull/731#issuecomment-176955192 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3Njk1NTE5Mg== | deanpospisil 15167171 | 2016-01-29T20:29:15Z | 2016-01-29T20:29:15Z | NONE |
Yeah I'm going to go for omitting the dims entirely for now, I think it makes the function easy to call, and really covers what I imagine most people would use the function for, getting the relationship between two DataArrays along their common dimensions. Thats all I'm going to use it for.
Yeah that makes sense. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176869693 | https://github.com/pydata/xarray/pull/731#issuecomment-176869693 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3Njg2OTY5Mw== | shoyer 1217238 | 2016-01-29T17:20:50Z | 2016-01-29T17:20:50Z | MEMBER |
Nope, it can handle any eager (numpy) and lazy (dask) xarray objects. Something like this should work: ``` depending on exactly what syntax we supporteager = self.eager_array.tensordot(self.eager_array[0]) lazy = self.lazy_array.tensordot(self.lazy_array[0])) self.assertLazyAndAllClose(eager, lazy) ```
This is a good point! Arrays with redundant dimensions are not very useful. The sane thing to do is to broadcast over dimensions that aren't being summed That said, this is difficult to implement with numpy's dot/tensordot, so perhaps it's better to simply error or omit the I also wonder if perhaps we should rename this from |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176571428 | https://github.com/pydata/xarray/pull/731#issuecomment-176571428 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3NjU3MTQyOA== | deanpospisil 15167171 | 2016-01-29T04:44:25Z | 2016-01-29T04:45:45Z | NONE | I've implemented all your comments, except:
1. In the dask test I'm having a little trouble with:
2 Your comment:
3 Need to figure out how to edit the docs. And I was thinking: The default (when no dims arg is given) should be to tensordot over all shared dims between DataArrays. And it should prevent you from not summing over all shared dims, since that will return a DataArray with repeated labels. I think it would be rare for people to want to tensor dot over different dimensions. Thanks for all your help getting me going! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176555551 | https://github.com/pydata/xarray/pull/731#issuecomment-176555551 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3NjU1NTU1MQ== | shoyer 1217238 | 2016-01-29T03:40:32Z | 2016-01-29T03:40:32Z | MEMBER | The test is failing because we don't have dask installed in all builds -- because dask is an optional dependency, and we want to make things still work when you don't have it installed. We do have tests setup to skip if dask is not installed, by using the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176553874 | https://github.com/pydata/xarray/pull/731#issuecomment-176553874 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3NjU1Mzg3NA== | shoyer 1217238 | 2016-01-29T03:31:51Z | 2016-01-29T03:31:51Z | MEMBER | I'll just note that one other logical way to do this would be to implement |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
176374932 | https://github.com/pydata/xarray/pull/731#issuecomment-176374932 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3NjM3NDkzMg== | shoyer 1217238 | 2016-01-28T19:54:02Z | 2016-01-28T19:54:02Z | MEMBER | This also needs docs, minimally including a note in what's new (for v0.7.1), a docstring and a reference in the API docs. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 | |
175905067 | https://github.com/pydata/xarray/pull/731#issuecomment-175905067 | https://api.github.com/repos/pydata/xarray/issues/731 | MDEyOklzc3VlQ29tbWVudDE3NTkwNTA2Nw== | deanpospisil 15167171 | 2016-01-27T23:07:37Z | 2016-01-27T23:07:37Z | NONE | It seems in both unsuccesful cases it was trying to import dask and failed, I can't quite figure out what I could have changed to prevent dask from importing: ```
xarray/core/dataarray.py:569: in chunk ds = self._to_temp_dataset().chunk(chunks) ``` ``` try: from dask.base import tokenize except ImportError:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add tensordot to dataarray class also add its test to test_dataarray 129286220 |
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 3