We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d41928 commit c4e3ba0Copy full SHA for c4e3ba0
pandas/_libs/lib.pyx
@@ -862,10 +862,7 @@ cpdef ndarray[object] ensure_string_array(
862
return result
863
864
865
-@cython.wraparound(False)
866
-@cython.boundscheck(False)
867
-cpdef bool is_all_scalar(obj: list | tuple):
868
- # Optimized for lists and tuples
+def is_all_scalar(obj: list | tuple) -> bool:
869
cdef:
870
Py_ssize_t i, n = len(obj)
871
bool all_scalars = True
0 commit comments