Skip to content

Conversation

asmeurer
Copy link
Member

Also make the basic rename functions just aliases instead of wrapper aliases, so that they are still ufuncs.

This removes the overhead for these functions, and also makes it so that they
are still NumPy ufuncs with all the corresponding ufunc keywords and methods.
This allows passing NumPy-specific keyword arguments through, like
asarray(order='F').

This won't work with keyword arguments that are renamed.

This is not done for new functions that aren't in NumPy, like unique_all,
permute_dims, matrix_norm, etc.

Fixes #data-apis#10.
@asmeurer asmeurer merged commit cda03db into data-apis:main Jan 7, 2023
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.

1 participant