Skip to content

Add Index.__array_ufunc__ #27133

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

Closed
TomAugspurger opened this issue Jun 29, 2019 · 1 comment
Closed

Add Index.__array_ufunc__ #27133

TomAugspurger opened this issue Jun 29, 2019 · 1 comment

Comments

@TomAugspurger
Copy link
Contributor

We can probably move Series.__array_ufunc__ to core/base.py (once it's in)

The primary difference is that ufunc(Index, Series) should defer to Series by returning NotImplemented. This may be as easy as excluding Series from Index._HANDLED_TYPES and including Index in Series._HANDLED_TYPES.

@simonjayhawkins
Copy link
Member

closing in favour of #32411

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

No branches or pull requests

2 participants