home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 275461273 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

These facets timed out: author_association

user 1

  • shoyer · 1 ✖

issue 1

  • Rank function · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
346160627 https://github.com/pydata/xarray/issues/1731#issuecomment-346160627 https://api.github.com/repos/pydata/xarray/issues/1731 MDEyOklzc3VlQ29tbWVudDM0NjE2MDYyNw== shoyer 1217238 2017-11-21T21:05:18Z 2017-11-21T21:05:18Z MEMBER

nanrankdata only support numeric types, how about wrapping rankdata with a keyword option ?

We already do dispatching to appropriate functions based on the dtype for aggregations: https://github.com/pydata/xarray/blob/9d09c1659741dafb1fadeed49c81f9e90a548b07/xarray/core/duck_array_ops.py#L174 (Yes, this is a bit of a mess)

Since NaN has a consistent sorting position in NumPy/bottleneck (it sorts to the end), I would suggest including a skipna keyword argument, like one we use for aggregation functions. Alternatively, we could use na_option : {‘keep’, ‘top’, ‘bottom’} like pandas.

There's also a push push method similar to pandas ffill which would be nice.

@jhamman is already working on ffill/bfill in https://github.com/pydata/xarray/pull/1640

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Rank function 275461273

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