Skip to content

Commit 8a7c9e2

Browse files
Abby VeCaseyAbby VeCasey
authored andcommitted
ascii3
1 parent f9eb9e1 commit 8a7c9e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/arrays/_arrow_string_mixins.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ def _str_isascii(self):
276276
else:
277277
# Fallback: Apply Python's `str.isascii` manually and convert to PyArrow
278278
pylist = [
279-
s.isascii() if isinstance(s, str) else None
279+
True if s == "" else (s.isascii() if isinstance(s, str) else None)
280+
#s.isascii() if isinstance(s, str) else None
280281
for s in self._pa_array.to_pylist()
281282
]
282283

0 commit comments

Comments
 (0)