home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 863433257

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/5478#issuecomment-863433257 https://api.github.com/repos/pydata/xarray/issues/5478 863433257 MDEyOklzc3VlQ29tbWVudDg2MzQzMzI1Nw== 14808389 2021-06-17T17:39:29Z 2021-06-17T17:39:29Z MEMBER

I really thought xarray.DataArray.T as something like DataArray.values as it giving values!

what do you mean with that? This is what I see: ```python In [3]: arr = xr.DataArray([[0, 1], [2, 3]]) ...: arr Out[3]: <xarray.DataArray (dim_0: 2, dim_1: 2)> array([[0, 1], [2, 3]]) Dimensions without coordinates: dim_0, dim_1

In [4]: arr.T Out[4]: <xarray.DataArray (dim_1: 2, dim_0: 2)> array([[0, 2], [1, 3]]) Dimensions without coordinates: dim_1, dim_0

In [5]: arr.transpose() Out[5]: <xarray.DataArray (dim_1: 2, dim_0: 2)> array([[0, 2], [1, 3]]) Dimensions without coordinates: dim_1, dim_0 ```

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