issue_comments
8 rows where issue = 120038291 and user = 2443309 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Feature/rolling · 8 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | ||
| 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 1