home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 323703742 and user = 10137 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • ghost · 6 ✖

issue 1

  • From pandas to xarray without blowing up memory · 6 ✖

author_association 1

  • NONE 6
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
389622523 https://github.com/pydata/xarray/issues/2139#issuecomment-389622523 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTYyMjUyMw== ghost 10137 2018-05-16T18:37:24Z 2018-05-16T18:37:24Z NONE

Does that sound like it will play well with GeoViews if I want widgets for the categorical vars?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742
389622155 https://github.com/pydata/xarray/issues/2139#issuecomment-389622155 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTYyMjE1NQ== ghost 10137 2018-05-16T18:36:17Z 2018-05-16T18:36:17Z NONE

Ok. Looks like the way forward is a netCDF file for each level of my categorical variables. Will give it a shot.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742
389618279 https://github.com/pydata/xarray/issues/2139#issuecomment-389618279 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTYxODI3OQ== ghost 10137 2018-05-16T18:24:02Z 2018-05-16T18:24:02Z NONE

@shoyer Thank you. Does metacsv look likely to work to you? It has attracted almost no attention so I wonder if it will exhaust memory. I'm kind of surprised this path (csv -> xarray) isn't better fleshed out as I would have expected it to be very common, perhaps the most common esp. for "found data."

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742
389596244 https://github.com/pydata/xarray/issues/2139#issuecomment-389596244 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTU5NjI0NA== ghost 10137 2018-05-16T17:13:11Z 2018-05-16T17:13:11Z NONE

This looks potentially helpful http://metacsv.readthedocs.io/en/latest/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742
389592602 https://github.com/pydata/xarray/issues/2139#issuecomment-389592602 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTU5MjYwMg== ghost 10137 2018-05-16T17:01:37Z 2018-05-16T17:01:37Z NONE

PS: I started with Dask but haven't found a way to go from Dask to xarray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742
389592243 https://github.com/pydata/xarray/issues/2139#issuecomment-389592243 https://api.github.com/repos/pydata/xarray/issues/2139 MDEyOklzc3VlQ29tbWVudDM4OTU5MjI0Mw== ghost 10137 2018-05-16T17:00:24Z 2018-05-16T17:00:24Z NONE

Hi @jhamman The original data is literally just a flat csv file with ie: lat,lon,epoch,cat1,cat2,var1,var2,...,var50 with 1 billion rows.

I'm looking to xarray for GeoViews, which I think would benefit from having the data properly grouped/indexed by its categories

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  From pandas to xarray without blowing up memory 323703742

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