home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 151483622

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
151483622 MDExOlB1bGxSZXF1ZXN0NjgxMTk3MDI= 837 Fixed a bug that showed when trying to establish equivalence of two a… 5384661 closed 0     10 2016-04-27T20:31:50Z 2016-06-24T18:13:36Z 2016-06-24T18:13:36Z CONTRIBUTOR   0 pydata/xarray/pulls/837

…rrays that are numpy.recarrays

The following code WILL run with the fix but will crash when running current xarray:

``` Python import numpy as np import xarray as xr

p_data = np.array([('John', 180), ('Stacy', 150), ('Dick',200)], dtype=[('name', '|S256'), ('height', int)]) p_data_1 = np.array([('John', 180), ('Stacy', 150), ('Dick',200)], dtype=[('name', '|S256'), ('height', int)])

weights_0 = xr.DataArray([80,56,120], dims=['participant'], coords={'participant':p_data}) weights_1 = xr.DataArray([81,52,115], dims=['participant'], coords={'participant':p_data_1})

print weights_1-weights_0 ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/837/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 10 rows from issue in issue_comments
Powered by Datasette · Queries took 0.58ms · About: xarray-datasette