home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 46745063

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
46745063 MDU6SXNzdWU0Njc0NTA2Mw== 264 align silently upcasts data arrays when NaNs are inserted 291576 closed 0     2 2014-10-24T14:36:20Z 2014-10-28T06:47:38Z 2014-10-28T06:47:38Z CONTRIBUTOR      

The NaNs being inserted during the join is irrespective of the dtype of the array.

import numpy as np import xray x1 = np.arange(30) x2 = np.arange(5, 35) a = xray.DataArray(np.random.random((30,)).astype('f32'), {'x': x1}) b = xray.DataArray(np.random.random((30,)).astype('f32'), {'x': x2}) c, d = xray.align(a, b, join='outer') print c.dtype

The output is float64.

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 78.802ms · About: xarray-datasette