issue_comments
7 rows where author_association = "MEMBER" and issue = 124441012 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Transpose modifies dtype of index, when a PeriodIndex · 7 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 168527832 | https://github.com/pydata/xarray/issues/692#issuecomment-168527832 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODUyNzgzMg== | max-sixty 5635139 | 2016-01-03T18:41:04Z | 2016-01-03T18:41:04Z | MEMBER | OK, I guess that's how I think about the distinction with Indexes - they're role is for selection in one dimension, each. Maybe this is a more conceptual issue then... |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168516553 | https://github.com/pydata/xarray/issues/692#issuecomment-168516553 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODUxNjU1Mw== | shoyer 1217238 | 2016-01-03T16:35:57Z | 2016-01-03T16:35:57Z | MEMBER |
You're right that this won't come up in many circumstances. It's only that, like with numpy, we try to make xray operations always generalize to multi-dimensional arrays. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168355707 | https://github.com/pydata/xarray/issues/692#issuecomment-168355707 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODM1NTcwNw== | max-sixty 5635139 | 2016-01-02T01:46:09Z | 2016-01-02T01:46:09Z | MEMBER | That did fix it! Apologies for not testing on master. On the broader issue, I hadn't thought of the need to expand dims / indexes to more than one dimension. I was thinking that there would be a 1D index per dim, and the result of slicing a multidimensional array would be the intersection of each dim's slice. Am I missing something more fundamental? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168354211 | https://github.com/pydata/xarray/issues/692#issuecomment-168354211 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODM1NDIxMQ== | shoyer 1217238 | 2016-01-02T01:11:13Z | 2016-01-02T01:11:37Z | MEMBER | The challenge is that the pandas Index has a much smaller API than numpy/dask.array. For example, it doesn't have a I'm all for preserving indexes (including all their quirks) in situations where it's possible. And in other cases, we should fall back to numpy arrays with dtype=object holding appropriate scalars. As for this particular issue, have you tested this after the changes in https://github.com/xray/xray/pull/691? I actually can't reproduce this issue on master. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168348251 | https://github.com/pydata/xarray/issues/692#issuecomment-168348251 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODM0ODI1MQ== | max-sixty 5635139 | 2016-01-01T23:07:06Z | 2016-01-01T23:07:06Z | MEMBER | Yeah, that seems fairly hacky (presumably this is would still be a problem if we have From my POV I'm still thinking whether XRay can fall back to pandas indexing more extensively (as discussed here). Dims could be stored as Pandas indexes rather than dask / numpy arrays, and the (much cleaner) XRay indexing API could be a simple wrapper of the Pandas API. And it sounds like from your comment the lazy contract could still be honored, if they're loaded when needed? Does that make sense? What are the arguments in the other direction? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168345966 | https://github.com/pydata/xarray/issues/692#issuecomment-168345966 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODM0NTk2Ng== | shoyer 1217238 | 2016-01-01T22:53:24Z | 2016-01-01T22:53:24Z | MEMBER | Hmm. One possible fix would be adjust |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 | |
| 168138939 | https://github.com/pydata/xarray/issues/692#issuecomment-168138939 | https://api.github.com/repos/pydata/xarray/issues/692 | MDEyOklzc3VlQ29tbWVudDE2ODEzODkzOQ== | max-sixty 5635139 | 2015-12-31T07:20:11Z | 2016-01-01T22:12:08Z | MEMBER | Also peculiar - setting the ``` python In [80]: ds.date = date ds, ds.date.dtype, ds['number 1'].date.dtype Out[80]: (<xray.Dataset> Dimensions: (date: 10) Coordinates: * date (date) int64 10957 10958 10959 10960 10961 10962 10963 10964 ... Data variables: number 1 (date) float64 0.1225 0.7202 0.5921 0.3005 0.8746 0.4186 ... number 2 (date) float64 0.1225 0.7202 0.5921 0.3005 0.8746 0.4186 ... number 3 (date) float64 0.1225 0.7202 0.5921 0.3005 0.8746 0.4186 ... number 4 (date) float64 0.1225 0.7202 0.5921 0.3005 0.8746 nan nan nan ..., dtype('O'), dtype('int64')) ``` Currently my workaround is |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Transpose modifies dtype of index, when a PeriodIndex 124441012 |
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