home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 342906368

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/1081#issuecomment-342906368 https://api.github.com/repos/pydata/xarray/issues/1081 342906368 MDEyOklzc3VlQ29tbWVudDM0MjkwNjM2OA== 1217238 2017-11-08T18:14:56Z 2017-11-08T18:14:56Z MEMBER

tranpose('x', 'y') already means ensure this object has dimensions in the order (x, y): ``` In [2]: a = xarray.DataArray([[0]], dims=['x', 'y'])

In [3]: a.T Out[3]: <xarray.DataArray (y: 1, x: 1)> array([[0]]) Dimensions without coordinates: y, x

In [4]: a.T.transpose('x', 'y') Out[4]: <xarray.DataArray (x: 1, y: 1)> array([[0]]) Dimensions without coordinates: x, y

In [5]: a.transpose('x', 'y') Out[5]: <xarray.DataArray (x: 1, y: 1)> array([[0]]) Dimensions without coordinates: x, y ```

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