home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 551344538 and user = 57364981 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

  • mikebyrne6 · 4 ✖

issue 1

  • Error using reduce(): percentile() got an unexpected keyword argument 'axis' · 4 ✖

author_association 1

  • NONE 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
575677825 https://github.com/pydata/xarray/issues/3701#issuecomment-575677825 https://api.github.com/repos/pydata/xarray/issues/3701 MDEyOklzc3VlQ29tbWVudDU3NTY3NzgyNQ== mikebyrne6 57364981 2020-01-17T15:42:35Z 2020-01-17T18:00:03Z NONE

keewis' quantile function works fine on 1 year of data (as in the MVCE code sample) but does not like working on 10 years of data:

ValueError: dimension 'time' on 0th function argument to apply_ufunc with dask='parallelized' consists of multiple chunks, but is also a core dimension. To fix, rechunk into a single dask array chunk along this dimension, i.e., ``.chunk({'time': -1})``, but beware that this may significantly increase memory usage.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Error using reduce(): percentile() got an unexpected keyword argument 'axis' 551344538
575655918 https://github.com/pydata/xarray/issues/3701#issuecomment-575655918 https://api.github.com/repos/pydata/xarray/issues/3701 MDEyOklzc3VlQ29tbWVudDU3NTY1NTkxOA== mikebyrne6 57364981 2020-01-17T14:48:58Z 2020-01-17T14:48:58Z NONE

Thanks a lot for this!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Error using reduce(): percentile() got an unexpected keyword argument 'axis' 551344538
575596237 https://github.com/pydata/xarray/issues/3701#issuecomment-575596237 https://api.github.com/repos/pydata/xarray/issues/3701 MDEyOklzc3VlQ29tbWVudDU3NTU5NjIzNw== mikebyrne6 57364981 2020-01-17T11:51:28Z 2020-01-17T11:51:28Z NONE

Seems like I do need it:

python percentiles = ds.quantile(q=percentile / 100, dim="time") returns

TypeError: quantile does not work for arrays stored as dask arrays. Load the data via .compute() or .load() prior to calling this method.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Error using reduce(): percentile() got an unexpected keyword argument 'axis' 551344538
575593148 https://github.com/pydata/xarray/issues/3701#issuecomment-575593148 https://api.github.com/repos/pydata/xarray/issues/3701 MDEyOklzc3VlQ29tbWVudDU3NTU5MzE0OA== mikebyrne6 57364981 2020-01-17T11:40:46Z 2020-01-17T11:40:46Z NONE

Thanks for that but ideally I wouldn't use compute(). The code worked using a previous version of dask (0.16.1) so I'm hoping there might be an easy fix for dask 2.9.0...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Error using reduce(): percentile() got an unexpected keyword argument 'axis' 551344538

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