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

BUG: Allow apply of ufunc over Series of list-like #33496

Closed
wants to merge 4 commits into from
Closed

BUG: Allow apply of ufunc over Series of list-like #33496

wants to merge 4 commits into from

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Apr 12, 2020

@dsaxton dsaxton added Apply Apply, Aggregate, Transform Bug Numeric Operations Arithmetic, Comparison, and Logical operations labels Apr 12, 2020
@@ -3887,7 +3887,12 @@ def f(x):

with np.errstate(all="ignore"):
if isinstance(f, np.ufunc):
return f(self)
try:
Copy link
Contributor

Choose a reason for hiding this comment

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

pls do. it make changes here
core/apply.py is better

but to be honest i am not sure we need support this case as it’s invalid

@dsaxton
Copy link
Member Author

dsaxton commented Apr 13, 2020

@jreback I wasn't sure myself but figured I'd put this up. I'll go ahead and close since it's failing and may not be worth supporting anyways

@dsaxton dsaxton closed this Apr 13, 2020
@dsaxton dsaxton deleted the series-apply-ufunc branch April 13, 2020 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform Bug Numeric Operations Arithmetic, Comparison, and Logical operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: apply for series of numpy arrays falis with np functions
2 participants