diff --git a/pandas/core/arrays/boolean.py b/pandas/core/arrays/boolean.py index 813b10eef5e4b..7e406ca5e039e 100644 --- a/pandas/core/arrays/boolean.py +++ b/pandas/core/arrays/boolean.py @@ -343,7 +343,8 @@ def map_string(s) -> bool: elif s in false_values_union: return False else: - raise ValueError(f"{s} cannot be cast to bool") + print(f"{s} cannot be cast to bool") + return None scalars = np.array(strings, dtype=object) mask = isna(scalars)