-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Readd order and subok parameters to astype (GH4644) #4683
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
Conversation
mathause
left a comment
There was a problem hiding this 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]>
|
One more point, could you add "sparse": ("https://sparse.pydata.org/en/latest/", None), here: Line 420 in bdba889
so we get the cross-link to sparse (in the docs). Then I'll merge in a few days unless someone else has comments. |
| Notes | ||
| ----- | ||
| The ``order``, ``casting``, ``subok`` and ``copy`` arguments are only passed |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
|
Merging... Thanks @rhkleijn & welcome to xarray! |
isort . && black . && mypy . && flake8whats-new.rst