issue_comments
6 rows where issue = 115210260 and user = 1217238 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Display of PeriodIndex · 6 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
164635815 | https://github.com/pydata/xarray/issues/645#issuecomment-164635815 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE2NDYzNTgxNQ== | shoyer 1217238 | 2015-12-15T03:39:49Z | 2015-12-15T03:39:49Z | MEMBER | Lazy loading, even of indices, can be pretty important -- sometimes calculating indices requiring downloading a significant amount of data over a wire. I am reluctant to change it. However, another possible way to fix the printing issue is to guarantee that index data always gets cast to a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 | |
154195290 | https://github.com/pydata/xarray/issues/645#issuecomment-154195290 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE1NDE5NTI5MA== | shoyer 1217238 | 2015-11-05T21:16:32Z | 2015-11-05T21:16:32Z | MEMBER | yes, exactly On Thu, Nov 5, 2015 at 1:10 PM, Maximilian Roos notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 | |
154189059 | https://github.com/pydata/xarray/issues/645#issuecomment-154189059 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE1NDE4OTA1OQ== | shoyer 1217238 | 2015-11-05T20:59:08Z | 2015-11-05T20:59:08Z | MEMBER |
Oh -- yes, I agree that is very strange. I have no idea why that is!
I think this will be a little tricky to change. The main subtlety is that currently we don't actually create the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 | |
154182414 | https://github.com/pydata/xarray/issues/645#issuecomment-154182414 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE1NDE4MjQxNA== | shoyer 1217238 | 2015-11-05T20:34:53Z | 2015-11-05T20:34:53Z | MEMBER | When I originally wrote that code, pandas didn't have
Sorry, I still don't understand exactly what you're referring to! This does sound pretty bizarre, though -- possibly a bug. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 | |
154149878 | https://github.com/pydata/xarray/issues/645#issuecomment-154149878 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE1NDE0OTg3OA== | shoyer 1217238 | 2015-11-05T18:46:32Z | 2015-11-05T18:46:32Z | MEMBER |
This line is basically there to work around cases where pandas stores an array in an index with a different dtype. For example, consider this dataset with an int32 coordinate:
Under the covers, there's an int64 index (pandas doesn't have
This line ensure that we cast back to the original dtype when we get In this case, I think a simple fix for
I'm not entirely sure what you're referring to here -- which line(s) of code is surprising you? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 | |
153980946 | https://github.com/pydata/xarray/issues/645#issuecomment-153980946 | https://api.github.com/repos/pydata/xarray/issues/645 | MDEyOklzc3VlQ29tbWVudDE1Mzk4MDk0Ng== | shoyer 1217238 | 2015-11-05T07:55:27Z | 2015-11-05T07:55:27Z | MEMBER | I have not tried using xray with pandas's The broken thing about PeriodIndex is that it lies and claims to have
I suppose pandas is unlikely to fix this in the immediate (though I would argue that it really should). In the meantime, do you have any interest in working on a fix for this? I suspect this would be relatively straightforward -- you'll simply need a work around or two to explicitly handle PeriodIndex. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Display of PeriodIndex 115210260 |
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