home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 490593787 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

user 1

  • shoyer · 2 ✖

issue 1

  • Using min() with skipna=True · 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
529164037 https://github.com/pydata/xarray/issues/3290#issuecomment-529164037 https://api.github.com/repos/pydata/xarray/issues/3290 MDEyOklzc3VlQ29tbWVudDUyOTE2NDAzNw== shoyer 1217238 2019-09-08T02:41:58Z 2019-09-08T02:41:58Z MEMBER

For datetime64 arrays, use np.isnat() instead of isnan.

On Sat, Sep 7, 2019 at 7:39 PM Xin Zhang notifications@github.com wrote:

@keewis https://github.com/keewis I tried to using np.isnan(t.values).all() to check whether it's all nan. But, I got this error:

print (np.isnan(t.values).all())

TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

This is the type of t.values: <class 'numpy.ndarray'>

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/3290?email_source=notifications&email_token=AAJJFVWLAIBI55TBPAXWLDLQIRQWHA5CNFSM4IUO4E7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FGMMY#issuecomment-529163827, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJJFVWBG7JHMQIYCYB3IJ3QIRQWHANCNFSM4IUO4E7A .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using min() with skipna=True 490593787
529152703 https://github.com/pydata/xarray/issues/3290#issuecomment-529152703 https://api.github.com/repos/pydata/xarray/issues/3290 MDEyOklzc3VlQ29tbWVudDUyOTE1MjcwMw== shoyer 1217238 2019-09-07T22:43:48Z 2019-09-07T22:44:18Z MEMBER

I think this may have been fixed by https://github.com/pydata/xarray/pull/2924 (which removed the line with dtypes.fill_value(value.dtype) if valid_count == 0 else data)

Can you try upgrading to xarray 0.12.3?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Using min() with skipna=True 490593787

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