We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb43a9 commit f16e04bCopy full SHA for f16e04b
pandas/_libs/lib.pyx
@@ -552,7 +552,7 @@ def astype_intsafe(ndarray[object] arr, new_dtype):
552
553
@cython.wraparound(False)
554
@cython.boundscheck(False)
555
-def astype_unicode(arr: ndarray, skipna: bool=True) -> ndarray[object]:
+def astype_unicode(arr: ndarray, skipna: bool=False) -> ndarray[object]:
556
"""
557
Convert all elements in an array to unicode.
558
@@ -574,9 +574,6 @@ def astype_unicode(arr: ndarray, skipna: bool=True) -> ndarray[object]:
574
Py_ssize_t i, n = arr.size
575
ndarray[object] result = np.empty(n, dtype=object)
576
577
- # BUG skipna should be True but it is not
578
- print(f'skipna value: {skipna}')
579
-
580
for i in range(n):
581
arr_i = arr[i]
582
0 commit comments