issue_comments
19 rows where author_association = "MEMBER" and issue = 120038291 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Feature/rolling · 19 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
186492825 | https://github.com/pydata/xarray/pull/668#issuecomment-186492825 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NjQ5MjgyNQ== | shoyer 1217238 | 2016-02-20T02:37:52Z | 2016-02-20T02:37:52Z | MEMBER | Woot! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
186488866 | https://github.com/pydata/xarray/pull/668#issuecomment-186488866 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NjQ4ODg2Ng== | shoyer 1217238 | 2016-02-20T02:26:58Z | 2016-02-20T02:26:58Z | MEMBER | OK, this looks good to me. Merge when you're ready! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
186065185 | https://github.com/pydata/xarray/pull/668#issuecomment-186065185 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NjA2NTE4NQ== | jhamman 2443309 | 2016-02-19T05:40:25Z | 2016-02-19T05:40:25Z | MEMBER | Okay, An example of how we differ from Pandas in the last position with ``` Python In [7]: arr Out[7]: <xarray.DataArray (y: 5)> array([ 2.5, 3. , 3.5, 4. , 4.5]) Coordinates: x int64 1 * y (y) int64 0 1 2 3 4 In [8]: arr.rolling(y=3, center=True, min_periods=1).mean() Out[8]: <xarray.DataArray (y: 5)> array([ 2.75, 3. , 3.5 , 4. , nan]) Coordinates: x int64 1 * y (y) int64 0 1 2 3 4 In [9]: pd.rolling_mean(arr.to_series(), 3, center=True, min_periods=1) Out[9]: y 0 2.75 1 3.00 2 3.50 3 4.00 4 4.25 dtype: float64 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
185817586 | https://github.com/pydata/xarray/pull/668#issuecomment-185817586 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NTgxNzU4Ng== | shoyer 1217238 | 2016-02-18T17:07:11Z | 2016-02-18T17:07:11Z | MEMBER | I'd also still love to see an explicit example where our behavior differs from pandas (in the last position if Generally this PR is looking very close. We could differ some of the API design work by keeping |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
185816575 | https://github.com/pydata/xarray/pull/668#issuecomment-185816575 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NTgxNjU3NQ== | shoyer 1217238 | 2016-02-18T17:03:37Z | 2016-02-18T17:03:37Z | MEMBER | What is the full set of functions like
One possibility, instead of making a separate |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
185365318 | https://github.com/pydata/xarray/pull/668#issuecomment-185365318 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE4NTM2NTMxOA== | jhamman 2443309 | 2016-02-17T19:28:05Z | 2016-02-17T21:24:33Z | MEMBER | @shoyer - This could use another review from you. Failing tests have been fixed. There's a bunch more functionality that can be built out in future pull requests. This provides the basic rolling functionality we were going for. One thing to note, with ~~Lastly, this will need a squash and I'll do that once we're settled on the features.~~ |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
167563505 | https://github.com/pydata/xarray/pull/668#issuecomment-167563505 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2NzU2MzUwNQ== | shoyer 1217238 | 2015-12-28T12:49:03Z | 2015-12-28T12:49:03Z | MEMBER | @jhamman how are we doing here? Are you waiting on a review from me? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
162437327 | https://github.com/pydata/xarray/pull/668#issuecomment-162437327 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MjQzNzMyNw== | jhamman 2443309 | 2015-12-07T07:29:49Z | 2015-12-07T07:29:49Z | MEMBER |
I'm getting this
which makes me think the injection is failing to pass the arguments in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
162031347 | https://github.com/pydata/xarray/pull/668#issuecomment-162031347 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MjAzMTM0Nw== | shoyer 1217238 | 2015-12-04T17:40:47Z | 2015-12-04T17:40:47Z | MEMBER |
Still unresolved, though Jeff Reback agrees with you. It's being discussed in the rolling PR currently. Also: what about changing the default min_count to 0? I think that would be more consistent with pandas, which skips over missing values by default. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
162030626 | https://github.com/pydata/xarray/pull/668#issuecomment-162030626 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MjAzMDYyNg== | shoyer 1217238 | 2015-12-04T17:37:26Z | 2015-12-04T17:37:26Z | MEMBER |
Agreed, this would be nice. But if min_count=0, this won't be the case, because you will average over partial windows at the start of the rolling iteration. For example, you apply the aggregation function to windows of size [1, 2, 3, 3, 3, 3]. And the labels are also not consistent. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
162020564 | https://github.com/pydata/xarray/pull/668#issuecomment-162020564 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MjAyMDU2NA== | jhamman 2443309 | 2015-12-04T16:55:25Z | 2015-12-04T16:55:25Z | MEMBER |
I did consider this at first and it wouldn't be all that hard to implement but I chose not to go this route because I wanted consistency between ``` Python rolling_obj = da.rolling(time=4) rolling_obj.mean() # bottleneck move_mean rolling_obj.reduce(np.nanmean) # numpy nanmean over each window concat([da.mean(dim='time') for _, da in rolling_obj], dim=rolling_obj.window_labels) # manual mean via iterable - same as reduce ```
How did pandas land on this. To me it makes more sense as an argument to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161808000 | https://github.com/pydata/xarray/pull/668#issuecomment-161808000 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTgwODAwMA== | shoyer 1217238 | 2015-12-03T22:29:43Z | 2015-12-03T22:29:43Z | MEMBER |
I'll give this a test, but it looks like you have all the pieces to me.... |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161804311 | https://github.com/pydata/xarray/pull/668#issuecomment-161804311 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTgwNDMxMQ== | shoyer 1217238 | 2015-12-03T22:22:00Z | 2015-12-03T22:22:00Z | MEMBER | For iteration, what about only iterating over full windows? Thinking about how I might use iteration, I think this might be more useful than returning some shrunk windows. Concretely, this means that if you iterate over I think you've done a pretty reasonable job of interpreting |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161792935 | https://github.com/pydata/xarray/pull/668#issuecomment-161792935 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTc5MjkzNQ== | jhamman 2443309 | 2015-12-03T21:41:09Z | 2015-12-03T21:41:09Z | MEMBER | sounds good. Thanks. That's got to slow down work at a tech company :zzz: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161791877 | https://github.com/pydata/xarray/pull/668#issuecomment-161791877 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTc5MTg3Nw== | shoyer 1217238 | 2015-12-03T21:36:50Z | 2015-12-03T21:36:50Z | MEMBER | Internet at work today is only working 20% of the time. I'm happy to take a look once things get back online :). On Thu, Dec 3, 2015 at 1:05 PM, Joe Hamman notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161784342 | https://github.com/pydata/xarray/pull/668#issuecomment-161784342 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTc4NDM0Mg== | jhamman 2443309 | 2015-12-03T21:05:49Z | 2015-12-03T21:05:49Z | MEMBER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | ||
161782889 | https://github.com/pydata/xarray/pull/668#issuecomment-161782889 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTc4Mjg4OQ== | shoyer 1217238 | 2015-12-03T20:59:28Z | 2015-12-03T20:59:28Z | MEMBER |
You can either add a try/except around a top level import of bottleneck, or only import bottleneck locally inside functions which need it. I think I would prefer the later approach because it results in more intelligible error messages ( |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161550342 | https://github.com/pydata/xarray/pull/668#issuecomment-161550342 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTU1MDM0Mg== | jhamman 2443309 | 2015-12-03T08:33:33Z | 2015-12-03T08:33:33Z | MEMBER | @shoyer - I made some more progress here tonight. How do you suggest we handle the bottleneck dependency? That is the reason for the failing tests at the moment. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 | |
161470610 | https://github.com/pydata/xarray/pull/668#issuecomment-161470610 | https://api.github.com/repos/pydata/xarray/issues/668 | MDEyOklzc3VlQ29tbWVudDE2MTQ3MDYxMA== | jhamman 2443309 | 2015-12-02T23:54:32Z | 2015-12-02T23:54:32Z | MEMBER | @shoyer - thanks for the first look. I'll give it another hack. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Feature/rolling 120038291 |
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 2