Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New coords to existing dim (doc) #3958

Merged
merged 8 commits into from
Apr 10, 2020
Merged

New coords to existing dim (doc) #3958

merged 8 commits into from
Apr 10, 2020

Conversation

EtienneCmb
Copy link
Contributor

@EtienneCmb EtienneCmb commented Apr 9, 2020

Copy link
Collaborator

@max-sixty max-sixty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @EtienneCmb !
Would you mind adding a short line to whatsnew with attribution for you?

xarray/core/common.py Outdated Show resolved Hide resolved
Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
@pep8speaks
Copy link

pep8speaks commented Apr 10, 2020

Hello @EtienneCmb! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-04-10 12:15:42 UTC

Copy link
Collaborator

@keewis keewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this, @EtienneCmb

A few comments, but otherwise this looks good to me.

xarray/core/common.py Outdated Show resolved Hide resolved
xarray/core/common.py Outdated Show resolved Hide resolved
xarray/core/common.py Outdated Show resolved Hide resolved
EtienneCmb and others added 3 commits April 10, 2020 14:14
add space

Co-Authored-By: keewis <keewis@users.noreply.github.com>
Co-Authored-By: keewis <keewis@users.noreply.github.com>
Co-Authored-By: keewis <keewis@users.noreply.github.com>
@EtienneCmb
Copy link
Contributor Author

@keewis thanks for the suggestions

@dcherian
Copy link
Contributor

Thanks @EtienneCmb

@dcherian dcherian merged commit 7a037d5 into pydata:master Apr 10, 2020
@EtienneCmb
Copy link
Contributor Author

EtienneCmb commented Apr 10, 2020

@dcherian @keewis The final line is not properly formatted in the latest version of the doc. I think there's the need of an empty line before the >>>

@keewis
Copy link
Collaborator

keewis commented Apr 10, 2020

thanks for checking, @EtienneCmb. I don't think the _ matters, this mostly happens because of a missing newline before the doctest line (the one that starts with >>>). Would you like to open a new PR fixing that?

dcherian added a commit to dcherian/xarray that referenced this pull request May 1, 2020
* upstream/master: (39 commits)
  Pint support for DataArray (pydata#3643)
  Apply blackdoc to the documentation (pydata#4012)
  ensure Variable._repr_html_ works (pydata#3973)
  Fix handling of abbreviated units like msec (pydata#3998)
  full_like: error on non-scalar fill_value (pydata#3979)
  Fix some code quality and bug-risk issues (pydata#3999)
  DOC: add pandas.DataFrame.to_xarray (pydata#3994)
  Better chunking error messages for zarr backend (pydata#3983)
  Silence sphinx warnings (pydata#3990)
  Fix distributed tests on upstream-dev (pydata#3989)
  Add multi-dimensional extrapolation example and mention different behavior of kwargs in interp (pydata#3956)
  keep attrs in interpolate_na (pydata#3970)
  actually use preformatted text in the details summary (pydata#3978)
  facetgrid: Ensure that colormap params are only determined once. (pydata#3915)
  RasterioDeprecationWarning (pydata#3964)
  Empty line missing for DataArray.assign_coords doc (pydata#3963)
  New coords to existing dim (doc) (pydata#3958)
  implement a more threadsafe call to colorbar (pydata#3944)
  Fix wrong order of coordinate converted from pd.series with MultiIndex (pydata#3953)
  Updated list of core developers (pydata#3943)
  ...
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.

Doc improvement for DataArray.assign_coords
5 participants