You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When encountering a null value in numpy 2.0 StringDType'd array, we get
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/thomasli/opt/miniconda3/envs/pandas-dev/lib/python3.10/site-packages/numpy/_core/strings.py", line 881, in rstrip
return _rstrip_whitespace(a)
ValueError: Cannot strip null values that are not strings
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/Users/thomasli/opt/miniconda3/envs/pandas-dev/lib/python3.10/site-packages/numpy/_core/strings.py", line 881, in rstrip
return _rstrip_whitespace(a)
ValueError: Cannot strip null values that are not strings
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/Users/thomasli/opt/miniconda3/envs/pandas-dev/lib/python3.10/site-packages/numpy/_core/strings.py", line 926, in strip
return _strip_whitespace(a)
ValueError: Cannot strip null values that are not strings
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/Users/thomasli/opt/miniconda3/envs/pandas-dev/lib/python3.10/site-packages/numpy/_core/strings.py", line 840, in lstrip
return _lstrip_whitespace(a)
ValueError: Cannot strip null values that are not strings
Python and NumPy Versions:
2.1.0.dev0+git20240424.f8392ce
Runtime Environment:
No response
Context for the issue:
No response
The text was updated successfully, but these errors were encountered:
Describe the issue:
When encountering a null value in numpy 2.0 StringDType'd array, we get
It is expected that the nulls are propagated.
Reproduce the code example:
Error message:
Python and NumPy Versions:
2.1.0.dev0+git20240424.f8392ce
Runtime Environment:
No response
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: