diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index 3d64d47d1bbb9..b20fc54a6cb28 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -344,10 +344,10 @@ def __from_arrow__( if self.storage == "pyarrow": from pandas.core.arrays.string_arrow import ( ArrowStringArray, - _chk_pyarrow_available, + _check_pyarrow_available, ) - _chk_pyarrow_available() + _check_pyarrow_available() if not pa.types.is_large_string(array.type): array = pc.cast(array, pa.large_string()) diff --git a/scripts/validate_unwanted_patterns.py b/scripts/validate_unwanted_patterns.py index 8427d72840425..04b4fde6a7c0e 100755 --- a/scripts/validate_unwanted_patterns.py +++ b/scripts/validate_unwanted_patterns.py @@ -58,7 +58,7 @@ "_fill_limit_area_1d", "_make_block", "_DatetimeTZBlock", - "_chk_pyarrow_available", + "_check_pyarrow_available", }