home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 278453914 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • shoyer · 2 ✖

issue 1

  • Is there a reason for why DataArray.swap_dims() cannot be done in place like Dataset.swap_dims? · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
348716669 https://github.com/pydata/xarray/issues/1755#issuecomment-348716669 https://api.github.com/repos/pydata/xarray/issues/1755 MDEyOklzc3VlQ29tbWVudDM0ODcxNjY2OQ== shoyer 1217238 2017-12-02T20:09:17Z 2017-12-02T20:09:17Z MEMBER

How about deprecating these? Would that be too much of a change you think? (I never use them)

Yes, this is a good idea! Opened #1756 to keep track.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Is there a reason for why DataArray.swap_dims() cannot be done in place like Dataset.swap_dims? 278453914
348554537 https://github.com/pydata/xarray/issues/1755#issuecomment-348554537 https://api.github.com/repos/pydata/xarray/issues/1755 MDEyOklzc3VlQ29tbWVudDM0ODU1NDUzNw== shoyer 1217238 2017-12-01T17:19:53Z 2017-12-01T17:19:53Z MEMBER

If I did it again, I would remove the inplace keyword argument from even Dataset methods. Almost every method in xarray creates new underlying objects, so it's misleading to call them "inplace". (Most of our inplace methods actually create a new object and then assign its properties to an existing object.)

Why not make your accessor method return a new DataArray object? That would be more inline with how most xarray methods work. If you have any special attributes you've set on the accessor you can copy those over to the new result.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Is there a reason for why DataArray.swap_dims() cannot be done in place like Dataset.swap_dims? 278453914

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 231.985ms · About: xarray-datasette