home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 39388919

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/88#issuecomment-39388919 https://api.github.com/repos/pydata/xarray/issues/88 39388919 MDEyOklzc3VlQ29tbWVudDM5Mzg4OTE5 1217238 2014-04-02T21:54:14Z 2014-04-02T21:54:14Z MEMBER

The bigger problem with redundant coordinates would be other machinery (e.g., for broadcasting arrays) which assumes that coordinates are unique.

For this function, the second use of the coordinate just wouldn't appear in the representation. My guess is that most functions should degrade relatively gracefully (like this one), because I usually use array.dimensions.index(dim) to determine axis numbers, which returns the first index in which dim appears.

If we want to support arrays with duplicate dimensions, we should definitely add some test cases.

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