home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 433076200

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/pull/2509#issuecomment-433076200 https://api.github.com/repos/pydata/xarray/issues/2509 433076200 MDEyOklzc3VlQ29tbWVudDQzMzA3NjIwMA== 2443309 2018-10-25T14:36:09Z 2018-10-25T14:36:09Z MEMBER

Feeling like playing devils advocate here. I would expect we'll run into similar confusion with the DataArray transpose property.

```Python

da = xr.DataArray([1, 2, 3, 4], dims=('time', ), coords={'time': pd.date_range('2018-10-24', periods=4)}) da.time

<xarray.DataArray 'time' (time: 4)> array(['2018-10-24T00:00:00.000000000', '2018-10-25T00:00:00.000000000', '2018-10-26T00:00:00.000000000', '2018-10-27T00:00:00.000000000'], dtype='datetime64[ns]') Coordinates: * time (time) datetime64[ns] 2018-10-24 2018-10-25 2018-10-26 2018-10-27

da = xr.DataArray([1, 2, 3, 4], dims=('T', ), coords={'T': pd.date_range('2018-10-24', periods=4)}) da.T

<xarray.DataArray (T: 4)> array([1, 2, 3, 4]) Coordinates: * T (T) datetime64[ns] 2018-10-24 2018-10-25 2018-10-26 2018-10-27 ```

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