home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 433104356

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-433104356 https://api.github.com/repos/pydata/xarray/issues/2509 433104356 MDEyOklzc3VlQ29tbWVudDQzMzEwNDM1Ng== 1217238 2018-10-25T15:48:45Z 2018-10-25T15:48:45Z MEMBER

I suppose the case for removing DataArray.T is that you don't really need a shortcut for transposing arrays in xarray, since most functions don't rely on dimension order. And of course the real motivation: some weather/climate scientists like to use a variable named T for time :).

The counter-argument would be that T is found on most other numpy array-like types, including pandas.DataFrame. I've definitely used .T as a convenient shortcut myself in some cases.

I guess that puts me at -0 for deprecating DataArray.T. But we can merge this already, and leave that for a separate discussion.

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