issue_comments
4 rows where issue = 168470276 and user = 1217238 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- align() and broadcast() before concat() · 4 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
241232663 | https://github.com/pydata/xarray/issues/927#issuecomment-241232663 | https://api.github.com/repos/pydata/xarray/issues/927 | MDEyOklzc3VlQ29tbWVudDI0MTIzMjY2Mw== | shoyer 1217238 | 2016-08-21T01:00:27Z | 2016-08-21T01:00:27Z | MEMBER | Fixed by #963 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
align() and broadcast() before concat() 168470276 | |
238114831 | https://github.com/pydata/xarray/issues/927#issuecomment-238114831 | https://api.github.com/repos/pydata/xarray/issues/927 | MDEyOklzc3VlQ29tbWVudDIzODExNDgzMQ== | shoyer 1217238 | 2016-08-07T23:14:44Z | 2016-08-07T23:14:44Z | MEMBER | First of all -- thanks for diving into this! You are really getting into the messy guts here, so thanks for sticking with it.
I actually just added this hack in a few days ago to fix a regression in the v0.8.0 release (https://github.com/pydata/xarray/issues/943). The problem is that I agree that the way I fixed this is really messy. It would be better simply not to align as part of merge if there is only a single labeled argument, but it wasn't obvious how to do last week when I was rushing to get the bug fix out (the logic is currently buried in I'll take a look now and see if I can come up with a cleaner fix, but for now I would stick with a separate internal only
One issue issue here is that the purpose and functionality of the
(I'll update this soon.) We should not be making any promises about returning exactly the same input object, and in fact for consistency we should (as we current do) always return a new Dataset or DataArray, because constructing these objects is pretty cheap. Rather, the issue is whether we need to copy
This shouldn't be true. ``` In [29]: from collections import OrderedDict In [30]: ds1 = xr.Dataset(OrderedDict([('x', 0), ('y', 1)])) In [31]: ds2 = xr.Dataset(OrderedDict([('y', 1), ('x', 0)])) In [32]: ds1 Out[32]: <xarray.Dataset> Dimensions: () Coordinates: empty Data variables: x int64 0 y int64 1 In [33]: ds2 Out[33]: <xarray.Dataset> Dimensions: () Coordinates: empty Data variables: y int64 1 x int64 0 In [34]: ds1.identical(ds2) Out[34]: True ```
This is something we considered before (https://github.com/pydata/xarray/issues/75). I think the main advantage is that OrderedDict is more intuitive (for people) and makes it easier to see at a glance how data changes. One other thing to note: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
align() and broadcast() before concat() 168470276 | |
236919314 | https://github.com/pydata/xarray/issues/927#issuecomment-236919314 | https://api.github.com/repos/pydata/xarray/issues/927 | MDEyOklzc3VlQ29tbWVudDIzNjkxOTMxNA== | shoyer 1217238 | 2016-08-02T14:21:06Z | 2016-08-02T14:21:06Z | MEMBER | Awesome! We usually stick to outer joins by default so we don't inadvertantly drop data. If datasets are already aligned, calling align with copy=False should have minimal performance costs. On Tue, Aug 2, 2016 at 12:20 AM crusaderky notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
align() and broadcast() before concat() 168470276 | |
236767844 | https://github.com/pydata/xarray/issues/927#issuecomment-236767844 | https://api.github.com/repos/pydata/xarray/issues/927 | MDEyOklzc3VlQ29tbWVudDIzNjc2Nzg0NA== | shoyer 1217238 | 2016-08-02T01:43:45Z | 2016-08-02T01:43:45Z | MEMBER | Indeed, we could probably replace I didn't add |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
align() and broadcast() before concat() 168470276 |
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