home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 124300184 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 4

  • shoyer 1
  • ryancoe 1
  • slharris 1
  • stale[bot] 1

author_association 2

  • NONE 3
  • MEMBER 1

issue 1

  • hourofyear · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1125434472 https://github.com/pydata/xarray/issues/690#issuecomment-1125434472 https://api.github.com/repos/pydata/xarray/issues/690 IC_kwDOAMm_X85DFMRo ryancoe 5589887 2022-05-12T21:22:37Z 2022-05-12T21:22:37Z NONE

This was very helpful, thanks. Minor tweak (maybe due to source change since previous comments in 2015?):

python hourofyear = ((da.time.dt.dayofyear-1) * 24 + da.time.dt.hour).rename('hourofyear') result = da.groupby(hourofyear).mean('time')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  hourofyear 124300184
458605564 https://github.com/pydata/xarray/issues/690#issuecomment-458605564 https://api.github.com/repos/pydata/xarray/issues/690 MDEyOklzc3VlQ29tbWVudDQ1ODYwNTU2NA== stale[bot] 26384082 2019-01-29T16:23:53Z 2019-01-29T16:23:53Z NONE

In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here; otherwise it will be marked as closed automatically

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  hourofyear 124300184
167933568 https://github.com/pydata/xarray/issues/690#issuecomment-167933568 https://api.github.com/repos/pydata/xarray/issues/690 MDEyOklzc3VlQ29tbWVudDE2NzkzMzU2OA== slharris 12929592 2015-12-30T04:15:49Z 2015-12-30T04:15:49Z NONE

thank you

On 30 December 2015 at 15:01, Stephan Hoyer notifications@github.com wrote:

This is a good idea, but it's not currently supported. You could do something like this, though:

hourofyear = (ds['time.dayofyear'] * 24 + ds['time.hourofday']).rename('hourofyear') result = ds['TEMP'].groupby(hourofyear).mean('time')

— Reply to this email directly or view it on GitHub https://github.com/xray/xray/issues/690#issuecomment-167932904.

Dr Sarah Harris Research Fellow School of Earth, Atmosphere and Environment Room 227, 9 Rainforest Walk Faculty of Science Monash University Ph: 03 9902 4243 Email: sarah.harris@monash.edu Email%3Asarah.harris@monash.edu

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  hourofyear 124300184
167932904 https://github.com/pydata/xarray/issues/690#issuecomment-167932904 https://api.github.com/repos/pydata/xarray/issues/690 MDEyOklzc3VlQ29tbWVudDE2NzkzMjkwNA== shoyer 1217238 2015-12-30T04:01:42Z 2015-12-30T04:01:51Z MEMBER

This is a good idea, but it's not currently supported. You could do something like this, though:

python hourofyear = (ds['time.dayofyear'] * 24 + ds['time.hourofday']).rename('hourofyear') result = ds['TEMP'].groupby(hourofyear).mean('time')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  hourofyear 124300184

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