-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Various operations fail on recursive object arrays #8306
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
Comments
Printing was fixed in #8963 |
I think we need to use |
Approaches numpy#8306. This still errors, but it does so at a python level, without a segfault.
Well, |
Approaches numpy#8306. This still errors, but it does so at a python level, without a segfault.
Just want to verify before creating a new issue as this seems similar. Using pandas
I'm getting the following error
Is it related or should I create a new issue? Edit. My issue is solved by
|
Sounds like a pandas bug. I'd create an issue there, with a minimal self-contained snippet that reproduces the problem |
It's possible to create a recursive object array:
Many functions that support object arrays fail to check for such situations, resulting in a
RecursionError
or in some cases a stack overflow:Python's built-in containers handle recursion gracefully:
My guess is that this isn't really worth doing for
ndarray
, but it would be nice to at least prevent stack overflows?The text was updated successfully, but these errors were encountered: