home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1050082867 and user = 2584128 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

  • DrTodd13 · 2 ✖

issue 1

  • Support Ramba distributed arrays. · 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
972112384 https://github.com/pydata/xarray/issues/5970#issuecomment-972112384 https://api.github.com/repos/pydata/xarray/issues/5970 IC_kwDOAMm_X8458UIA DrTodd13 2584128 2021-11-17T21:57:28Z 2021-11-17T22:08:03Z NONE

@TomNicholas @keewis ```python import ramba import numpy as np import xarray

ra1 = ramba.random.randn(10,20) xa1 = xarray.DataArray(ra1) np1 = xa1.data.asarray() print("np1:", np1) print("xa1.data:", xa1.data, type(xa1.data), xa1.data.dtype, type(xa1.data.dtype))

xa2 = xa1 + 10.0 xa22 = xa2 * 7.1 xa3 = np.sin(xa22) xa4 = xa3.transpose() xa5 = xa4.sum() print("xa5:", xa5, type(xa5)) ```

Using the __array_function__ API and other functions (and not my ill-conceived PR that added ramba to xarray for direct support) , I was able to run the above example. Originally, there were a couple parts of the NumPy API that ramba didn't previously support and I added those. The most difficult of those was 0d arrays. Those are working at least well enough now for the above example so now like I said in the meeting, I'd like even more complicated examples to explore.

Can anybody suggest or provide one?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support Ramba distributed arrays. 1050082867
966741762 https://github.com/pydata/xarray/issues/5970#issuecomment-966741762 https://api.github.com/repos/pydata/xarray/issues/5970 IC_kwDOAMm_X845n08C DrTodd13 2584128 2021-11-12T01:19:52Z 2021-11-12T01:19:52Z NONE

@TomNicholas Please add an in-progress label for the associated PR I opened.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support Ramba distributed arrays. 1050082867

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