home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 315149637 and user = 1197350 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

These facets timed out: author_association

user 1

  • rabernat · 1 ✖

issue 1

  • how do you flatten an xarray? · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
382072585 https://github.com/pydata/xarray/issues/2065#issuecomment-382072585 https://api.github.com/repos/pydata/xarray/issues/2065 MDEyOklzc3VlQ29tbWVudDM4MjA3MjU4NQ== rabernat 1197350 2018-04-17T17:17:00Z 2018-04-17T17:17:00Z MEMBER

I think you are looking for stack:

http://xarray.pydata.org/en/stable/reshaping.html#stack-and-unstack

On Tue, Apr 17, 2018 at 1:01 PM, John (EBo) David notifications@github.com wrote:

I got a version of TomAugspurger's Spectral Clustering modified to work with GeoTIFFs http://localhost:8839/notebooks/geo-spectral- geotiff-da.ipynb, and I have been working to modify it to run using xarrays http://localhost:8839/notebooks/geo-spectral-geotiff-xa.ipynb.

I'm currently stuck on getting the xarray flattened/reduced. I keep getting errors similar to: "TypeError: 'axis' is an invalid keyword argument for this function" no matter what I have tried. I need to find some way to change the array into nbands x (1 x N). I have not been able to figure out how to do this via the examples or docs I've read.

Suggestions? Also if you have other suggestions on how to clean up either example let me know.

Also, these are using publicly available data and will be free to post some place if desired.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/2065, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJFJsmXNCEBNikb-Ms9Z-iVk9P4V1jqks5tph_wgaJpZM4TYsde .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  how do you flatten an xarray? 315149637

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