home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where user = 11950875 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 3

  • BUG: reindexing an array with complex values should keep dtype=complex 2
  • creating DataArray from list of complex DataArray 1
  • dictionaries in labeled indexing with letter values 1

user 1

  • nedlrichards · 4 ✖

author_association 1

  • CONTRIBUTOR 4
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
200903349 https://github.com/pydata/xarray/issues/801#issuecomment-200903349 https://api.github.com/repos/pydata/xarray/issues/801 MDEyOklzc3VlQ29tbWVudDIwMDkwMzM0OQ== nedlrichards 11950875 2016-03-24T16:05:11Z 2016-03-24T16:05:23Z CONTRIBUTOR

Ah yes, that does make sense. I should have noticed that

test_xr.loc[dict(inter=1)] != test_xr[dict(inter=1)]

Thanks for your help.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dictionaries in labeled indexing with letter values 143107776
182492860 https://github.com/pydata/xarray/issues/753#issuecomment-182492860 https://api.github.com/repos/pydata/xarray/issues/753 MDEyOklzc3VlQ29tbWVudDE4MjQ5Mjg2MA== nedlrichards 11950875 2016-02-10T17:27:51Z 2016-02-10T17:27:51Z CONTRIBUTOR

Interesting, thanks for looking into this. I'm sorry I didn't really put the time in to stack trace before I posted.

I think this issue can be traced back to numpy as follows:

float(np.array(1.)) # works complex(np.array(1., dtype=complex)) # type error

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  creating DataArray from list of complex DataArray 132535802
180057047 https://github.com/pydata/xarray/pull/743#issuecomment-180057047 https://api.github.com/repos/pydata/xarray/issues/743 MDEyOklzc3VlQ29tbWVudDE4MDA1NzA0Nw== nedlrichards 11950875 2016-02-04T21:19:27Z 2016-02-04T21:19:27Z CONTRIBUTOR

Hope that does it. Thanks for your help.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  BUG: reindexing an array with complex values should keep dtype=complex 130767608
179485415 https://github.com/pydata/xarray/pull/743#issuecomment-179485415 https://api.github.com/repos/pydata/xarray/issues/743 MDEyOklzc3VlQ29tbWVudDE3OTQ4NTQxNQ== nedlrichards 11950875 2016-02-03T21:42:33Z 2016-02-03T21:42:33Z CONTRIBUTOR

tolerance keyword is not necessary to raise this error, simply raising na from reindex operation is enough. I have changed test to reflect this, which also removes the need for pandas version checking.

new test code is:

x = np.array([1, 2, 3], dtype=np.complex) x = xr.DataArray(x, coords=[[0.1, 0.2, 0.3]]) y = xr.DataArray([2, 5, 6, 7, 8], coords=[[-1.1, 0.21, 0.31, 0.41, 0.51]]) x.reindex_like(y, method='pad')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  BUG: reindexing an array with complex values should keep dtype=complex 130767608

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