Skip to content

raise TypeError when function returns object-like results #61529

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

Open
michael2015tse opened this issue Jun 1, 2025 · 0 comments
Open

raise TypeError when function returns object-like results #61529

michael2015tse opened this issue Jun 1, 2025 · 0 comments

Comments

@michael2015tse
Copy link

michael2015tse commented Jun 1, 2025

This roll_apply raises TypeError: must be real number, not str when my customized function returns str / list or other object-like results. Because here it is: ndarray[float64_t] output

ndarray[float64_t] output, counts

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

No branches or pull requests

1 participant