home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where user = 5131271 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • Customization of XArray Columns 1
  • Documentation on accessors? 1

user 1

  • achapkowski · 2 ✖

author_association 1

  • NONE 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
472441105 https://github.com/pydata/xarray/issues/2788#issuecomment-472441105 https://api.github.com/repos/pydata/xarray/issues/2788 MDEyOklzc3VlQ29tbWVudDQ3MjQ0MTEwNQ== achapkowski 5131271 2019-03-13T14:19:31Z 2019-03-13T14:19:31Z NONE

@dcherian A non-trivial example would help for both types of accessor patterns would help a lot and the best practice defined by the dev team on how to extend the API when needed.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Documentation on accessors? 414552031
360425470 https://github.com/pydata/xarray/issues/1853#issuecomment-360425470 https://api.github.com/repos/pydata/xarray/issues/1853 MDEyOklzc3VlQ29tbWVudDM2MDQyNTQ3MA== achapkowski 5131271 2018-01-25T10:27:54Z 2018-01-25T10:27:54Z NONE

@maxim-lian sure.

I extended a pd.Series like this:

``` class PolygonSeries(pd.Series):

def convex_hull(self, tol=.00001):
    # do stuff not normal to pandas
    return result

```

Can I do the same thing in xarray for a given column? I can have different types of Series in Pandas' like object, int64, etc... and I can also have custom series objects as well (shown above). Is there an x-array series that I can extend to match the pd.Series I created?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Customization of XArray Columns 291300808

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