home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 458730514

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/2710#issuecomment-458730514 https://api.github.com/repos/pydata/xarray/issues/2710 458730514 MDEyOklzc3VlQ29tbWVudDQ1ODczMDUxNA== 10720577 2019-01-29T22:19:58Z 2019-01-29T22:19:58Z CONTRIBUTOR

Oh I see what you're saying. Yeah, that makes sense.

To get the equivalent of da.expand_dims(a=[9, 10, 11]), you'd do ```

new = da.expand_dims(a=3) new <xarray.DataArray (a: 3, b: 5, c: 3)> ... Coordinates: * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 Dimensions without coordinates: a new["a"] = [9, 10, 11] ```

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