home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 458084627

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/712#issuecomment-458084627 https://api.github.com/repos/pydata/xarray/issues/712 458084627 MDEyOklzc3VlQ29tbWVudDQ1ODA4NDYyNw== 1322974 2019-01-28T10:56:27Z 2019-01-28T10:56:27Z CONTRIBUTOR

The issue is still relevant.

For the record, the repro code is now (e.g.) In [4]: from collections import * ...: import numpy as np ...: from xarray import * ...: ...: d1 = DataArray(np.empty((2, 2)), coords=OrderedDict([("foo", [0, 1]), ("bar", [0, 1])]), dims=["foo", "bar"]) ...: d2 = DataArray(np.empty((2, 2)), coords=OrderedDict([("bar", [0, 1]), ("foo", [0, 1])]), dims=["bar", "foo"]) ...: ...: ds = Dataset({"d1": d1, "d2": d2}) ...: ...: print(ds.d1) ...: print(ds.d2) <xarray.DataArray 'd1' (foo: 2, bar: 2)> array([[4.665651e-310, 0.000000e+000], [4.940656e-324, nan]]) Coordinates: * foo (foo) int64 0 1 * bar (bar) int64 0 1 <xarray.DataArray 'd2' (bar: 2, foo: 2)> array([[4.66565e-310, 0.00000e+000], [4.94066e-324, nan]]) Coordinates: * foo (foo) int64 0 1 * bar (bar) int64 0 1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  125708367
Powered by Datasette · Queries took 0.715ms · About: xarray-datasette