home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "MEMBER" and issue = 204071440 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • shoyer 2
  • jhamman 1
  • keewis 1

issue 1

  • Cannot use xarrays own times for indexing · 4 ✖

author_association 1

  • MEMBER · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
682419176 https://github.com/pydata/xarray/issues/1240#issuecomment-682419176 https://api.github.com/repos/pydata/xarray/issues/1240 MDEyOklzc3VlQ29tbWVudDY4MjQxOTE3Ng== keewis 14808389 2020-08-28T09:10:47Z 2020-08-28T09:10:47Z MEMBER

What's your pandas version? If it's pandas>=1.1.0, we already have #4283. Otherwise you might want to update your repository, we're at 13caf96efb3f121e232a35aafceed80c832a9876 right now (the latest release is 0.16.0).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot use xarrays own times for indexing 204071440
346158815 https://github.com/pydata/xarray/issues/1240#issuecomment-346158815 https://api.github.com/repos/pydata/xarray/issues/1240 MDEyOklzc3VlQ29tbWVudDM0NjE1ODgxNQ== shoyer 1217238 2017-11-21T20:58:34Z 2017-11-21T20:58:34Z MEMBER

Sorry for letting this one linger for so long... I added the "bug" tag so we don't forget about it for the next release.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot use xarrays own times for indexing 204071440
346059153 https://github.com/pydata/xarray/issues/1240#issuecomment-346059153 https://api.github.com/repos/pydata/xarray/issues/1240 MDEyOklzc3VlQ29tbWVudDM0NjA1OTE1Mw== jhamman 2443309 2017-11-21T15:20:09Z 2017-11-21T15:20:09Z MEMBER

@ulijh - you should be able to use the time index:

Python In [11]: arr.loc[arr.indexes['time'][2]:arr.indexes['time'][5]] Out[11]: <xarray.DataArray (time: 4, space: 3)> array([[ 0.422991, 0.513276, 0.762432], [ 0.111123, 0.371109, 0.697921], [ 0.029415, 0.215116, 0.451697], [ 0.670181, 0.855551, 0.319134]]) Coordinates: * time (time) datetime64[ns] 2000-01-03 2000-01-04 2000-01-05 2000-01-06 * space (space) <U2 'IA' 'IL' 'IN'

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot use xarrays own times for indexing 204071440
276131405 https://github.com/pydata/xarray/issues/1240#issuecomment-276131405 https://api.github.com/repos/pydata/xarray/issues/1240 MDEyOklzc3VlQ29tbWVudDI3NjEzMTQwNQ== shoyer 1217238 2017-01-30T17:39:05Z 2017-01-30T17:39:15Z MEMBER

Yes, this is annoying. We already have some work arounds for this in xarray -- see _as_array_or_item in xarray/core/variable.py. I would be happy to add a similar work around to fix slicing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Cannot use xarrays own times for indexing 204071440

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