issue_comments
5 rows where issue = 265056503 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Resample / upsample behavior diverges from pandas · 5 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
340535370 | https://github.com/pydata/xarray/issues/1631#issuecomment-340535370 | https://api.github.com/repos/pydata/xarray/issues/1631 | MDEyOklzc3VlQ29tbWVudDM0MDUzNTM3MA== | mmartini-usgs 23199378 | 2017-10-30T18:11:58Z | 2017-10-30T18:11:58Z | NONE | Thanks for posting this @jhamman. It's really helping me understand what is going on with my data when I use xarray. My understanding of Pandas is that it should not by default be interpolating - however I am downsampling and this is stated for upsampling (in Python for Data Analysis). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Resample / upsample behavior diverges from pandas 265056503 | |
336634555 | https://github.com/pydata/xarray/issues/1631#issuecomment-336634555 | https://api.github.com/repos/pydata/xarray/issues/1631 | MDEyOklzc3VlQ29tbWVudDMzNjYzNDU1NQ== | darothen 4992424 | 2017-10-14T13:19:58Z | 2017-10-14T13:19:58Z | NONE | Thanks for documenting this @jhamman. I think all the logic is in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Resample / upsample behavior diverges from pandas 265056503 | |
336592618 | https://github.com/pydata/xarray/issues/1631#issuecomment-336592618 | https://api.github.com/repos/pydata/xarray/issues/1631 | MDEyOklzc3VlQ29tbWVudDMzNjU5MjYxOA== | shoyer 1217238 | 2017-10-13T23:54:51Z | 2017-10-13T23:54:51Z | MEMBER | Let's see where the pandas discussion ends up. If xarray had a method for interpolating to fill missing values, achieving your desired result would be as a simple as chaining another interpolate call, e.g., |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Resample / upsample behavior diverges from pandas 265056503 | |
336592007 | https://github.com/pydata/xarray/issues/1631#issuecomment-336592007 | https://api.github.com/repos/pydata/xarray/issues/1631 | MDEyOklzc3VlQ29tbWVudDMzNjU5MjAwNw== | jhamman 2443309 | 2017-10-13T23:48:31Z | 2017-10-13T23:48:31Z | MEMBER | Thanks @shoyer. I always appreciated this feature in Pandas so I'm bummed to see it may not have been intentional. I need a xarray interpolate method that fills NaNs so I'll give that a go. I suspect it will be a widely used feature for dealing with missing data. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Resample / upsample behavior diverges from pandas 265056503 | |
336578729 | https://github.com/pydata/xarray/issues/1631#issuecomment-336578729 | https://api.github.com/repos/pydata/xarray/issues/1631 | MDEyOklzc3VlQ29tbWVudDMzNjU3ODcyOQ== | shoyer 1217238 | 2017-10-13T22:05:41Z | 2017-10-13T22:05:41Z | MEMBER | The key difference appears to be:
- In xarray, I think this is a bug in pandas, since the behavior is inconsistent with other resample methods like
More generally: (This does suggest that xarray could use a direct Another example: ```
It is useful that pandas's upsampling is only repeating values within the previously valid range. Otherwise it is likely to interpolate over true data gaps. As another use-case: suppose we have a temperature dataset with 3 hourly measurements, and we want to upsample it to 1 hour resolution. Occasionally, measurements are missing for day(s) at a time, which we mark with missing values (suppose the server running the model ran out of disk space). It is useful to be able to resample to a higher resolution without entirely unrealistic interpolation over data gaps. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Resample / upsample behavior diverges from pandas 265056503 |
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