home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 244702576 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • ghost 2
  • shoyer 2

author_association 2

  • MEMBER 2
  • NONE 2

issue 1

  • Matrix cross product in xarray · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
317472105 https://github.com/pydata/xarray/issues/1484#issuecomment-317472105 https://api.github.com/repos/pydata/xarray/issues/1484 MDEyOklzc3VlQ29tbWVudDMxNzQ3MjEwNQ== ghost 10137 2017-07-24T16:08:30Z 2017-07-24T16:08:30Z NONE

Just saw xr.DataArray.dot(). PROBLEM SOLVED.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Matrix cross product in xarray 244702576
317470340 https://github.com/pydata/xarray/issues/1484#issuecomment-317470340 https://api.github.com/repos/pydata/xarray/issues/1484 MDEyOklzc3VlQ29tbWVudDMxNzQ3MDM0MA== ghost 10137 2017-07-24T16:02:40Z 2017-07-24T16:02:40Z NONE

How do I make dot product (np.dot or pandas.dataframe.dot) between two DataArrays? X has dimensions [dim_0, dim_1, dim_2], Y has dimensions [dim0, dim3]. result should have dimensions [dim_1, dim2, dim3]. result = np.dot(X,Y) OR, result = pd.DataFrame.dot(X,Y) In both cases, error "shapes are not aligned" occurred.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Matrix cross product in xarray 244702576
317102180 https://github.com/pydata/xarray/issues/1484#issuecomment-317102180 https://api.github.com/repos/pydata/xarray/issues/1484 MDEyOklzc3VlQ29tbWVudDMxNzEwMjE4MA== shoyer 1217238 2017-07-21T20:16:24Z 2017-07-21T20:16:24Z MEMBER

.rename('new_name') on the combined array is probably the simplest.

On Fri, Jul 21, 2017 at 12:14 PM, peteron30 notifications@github.com wrote:

Thanks. the result dataarray from xr.concat keeps the same name as var1, although it is in fact a new dataarray object. How can this be fixed? The name disappear after applying an bool index using where method.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/1484#issuecomment-317088785, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKS1tG6RmLP7YG23kDl5gKGDt0qghLFks5sQPh7gaJpZM4Ofi78 .

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Matrix cross product in xarray 244702576
317039818 https://github.com/pydata/xarray/issues/1484#issuecomment-317039818 https://api.github.com/repos/pydata/xarray/issues/1484 MDEyOklzc3VlQ29tbWVudDMxNzAzOTgxOA== shoyer 1217238 2017-07-21T15:57:11Z 2017-07-21T15:57:11Z MEMBER

To combine variables in a list into a new xarray object, you need to call xarray.concat on them, e.g., xarray.concat([var1, var1-var2, var1-var3, (var1-var2)*np.cos(var4)], 'new_dim').

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Matrix cross product in xarray 244702576

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