home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "MEMBER" and issue = 676696822 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • dcherian 3
  • shoyer 2
  • max-sixty 2

issue 1

  • Support explicitly setting a dimension order with to_dataframe() · 7 ✖

author_association 1

  • MEMBER · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
674271421 https://github.com/pydata/xarray/pull/4333#issuecomment-674271421 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3NDI3MTQyMQ== max-sixty 5635139 2020-08-14T21:03:54Z 2020-08-14T21:03:54Z MEMBER

Thanks @Thomas-Z ! Great to have you as a contributor

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
674206025 https://github.com/pydata/xarray/pull/4333#issuecomment-674206025 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3NDIwNjAyNQ== dcherian 2448579 2020-08-14T18:28:23Z 2020-08-14T18:28:23Z MEMBER

Thanks @Thomas-Z . I see this is your first PR here. Welcome to xarray!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
672088818 https://github.com/pydata/xarray/pull/4333#issuecomment-672088818 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3MjA4ODgxOA== shoyer 1217238 2020-08-11T16:53:59Z 2020-08-11T16:53:59Z MEMBER

Do we want DataArray.to_dataframe to be consistent with Dataset.to_dataframe regarding the default dimension ordering (i.e. alphabetically) or do we want to keep the current behavior (DataArray.dims order)?

DataArray.to_dataframe() should keep the current behavior based on the dimension order.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
672081839 https://github.com/pydata/xarray/pull/4333#issuecomment-672081839 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3MjA4MTgzOQ== shoyer 1217238 2020-08-11T16:44:23Z 2020-08-11T16:44:23Z MEMBER

I like dim_order a little bit better than dims because it's clear that you need supply all the dimensions, not just a subset (which is usually the case for dims)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
672055923 https://github.com/pydata/xarray/pull/4333#issuecomment-672055923 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3MjA1NTkyMw== dcherian 2448579 2020-08-11T16:10:24Z 2020-08-11T16:10:24Z MEMBER

OK consistency with to_dask_dataframe is a good idea. Maybe stick with dim_order for now and we can change both later if someone really wants it?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
672026071 https://github.com/pydata/xarray/pull/4333#issuecomment-672026071 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3MjAyNjA3MQ== dcherian 2448579 2020-08-11T15:42:53Z 2020-08-11T15:42:53Z MEMBER

How about dims: Iterable[Hashable]?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822
671956314 https://github.com/pydata/xarray/pull/4333#issuecomment-671956314 https://api.github.com/repos/pydata/xarray/issues/4333 MDEyOklzc3VlQ29tbWVudDY3MTk1NjMxNA== max-sixty 5635139 2020-08-11T13:45:33Z 2020-08-11T13:45:33Z MEMBER

Great, thanks @Thomas-Z , LGTM

Does anyone have thoughts on the kwarg name? dim_order seems reasonable, though IIRC we don't use it elsewhere

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support explicitly setting a dimension order with to_dataframe() 676696822

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 73.328ms · About: xarray-datasette