Skip to content

Conversation

@shoyer
Copy link
Member

@shoyer shoyer commented Aug 30, 2016

- Renamed the ``Coordinate`` class from xarray's low level API to
  ``IndexVariable``.
- Deprecated supplying ``coords`` as a dictionary to the ``DataArray``
  constructor without also supplying an explicit ``dims`` argument. The old
  behavior encouraged relying on the iteration order of dictionaries, which is
  a bad practice (GH727).
- Removed a number of methods deprecated since v0.7.0 or earlier:
  ``load_data``, ``vars``, ``drop_vars``, ``dump``, ``dumps`` and the
  ``variables`` keyword argument alias to ``Dataset``.
@benbovy
Copy link
Member

benbovy commented Aug 31, 2016

Maybe we should also rename Variable.to_coord() and IndexVariable.to_coord()?

@shoyer
Copy link
Member Author

shoyer commented Aug 31, 2016

Maybe we should also rename Variable.to_coord() and IndexVariable.to_coord()?

Good catch, I meant to include this.

@shoyer
Copy link
Member Author

shoyer commented Sep 1, 2016

@benbovy any preference on whether I should submit this before or after your PR?

@benbovy
Copy link
Member

benbovy commented Sep 1, 2016

@shoyer feel free to merge this when you want. I can rebase my branch and resolve conflicts if needed.

@shoyer shoyer merged commit 3ecfa66 into pydata:master Sep 1, 2016
@shoyer
Copy link
Member Author

shoyer commented Sep 1, 2016

OK, in it goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataArray creation prone to errors when data shares dimension shapes

2 participants