Skip to content

Commit bea1cfa

Browse files
Abby VeCaseyAbby VeCasey
Abby VeCasey
authored and
Abby VeCasey
committed
ascii3
1 parent cc92867 commit bea1cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/_arrow_string_mixins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def _str_isalpha(self):
282282

283283
def _str_isascii(self):
284284
# Check if the array is of string type (or if the implementation should handle it) # Apply the isascii check element-wise using PyArrow's compute functions
285-
result = pc.ascii_is_ascii(self._pa_array)
285+
result = pc.string_is_ascii(self._pa_array)
286286

287287
# Convert the result to the appropriate format (e.g., PyArrow BooleanArray)
288288
return self._convert_bool_result(result)

0 commit comments

Comments
 (0)