Skip to content

Conversation

@rhkleijn
Copy link
Contributor

Copy link
Collaborator

@mathause mathause left a comment

Choose a reason for hiding this comment

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

LGTM!

Use proper quotes in docstrings

Co-authored-by: Mathias Hauser <[email protected]>
@mathause
Copy link
Collaborator

mathause commented Dec 13, 2020

One more point, could you add

    "sparse": ("https://sparse.pydata.org/en/latest/", None), 

here:

"cftime": ("https://unidata.github.io/cftime", None),

so we get the cross-link to sparse (in the docs). Then I'll merge in a few days unless someone else has comments.

@mathause mathause mentioned this pull request Dec 13, 2020
1 task
@mathause
Copy link
Collaborator

Notes
-----
The ``order``, ``casting``, ``subok`` and ``copy`` arguments are only passed
Copy link
Contributor

Choose a reason for hiding this comment

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

@pydata/xarray are we ok with this as a general policy for functions that are light wrappers of the underlying array-type's method.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm true we don't really do this in other places AFAIK. However, it is similar to passing **kwargs on.

Copy link
Member

Choose a reason for hiding this comment

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

This looks like a good solution to me!

@mathause
Copy link
Collaborator

Merging... Thanks @rhkleijn & welcome to xarray!

@mathause mathause merged commit 8039a95 into pydata:master Dec 16, 2020
@rhkleijn rhkleijn deleted the astype-order branch December 24, 2020 16:38
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.

astype method lost its order parameter

4 participants