-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
BUG: error in string array generated with arange function #22055
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
I am not quite convinced that |
I concur. |
I agree with this solution, as long as there is consistency ( |
I'm trying to work on this by adding a check to the multiarraymodule.c function for |
Nevermind, figured it out. PR coming soon.. |
PR ready, so that should just be reviewed (seems like not much work) - so removed the |
PR wasn't correctly linked, closing. |
Describe the issue:
Arrays created with
np.arange(n, dtype=str)
forn
>2 raise an error.Reproduce the code example:
Error message:
NumPy/Python version information:
1.23.1, 3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0]
The text was updated successfully, but these errors were encountered: