We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85bd7f2 commit 73d0ee0Copy full SHA for 73d0ee0
pandas/core/dtypes/cast.py
@@ -595,7 +595,7 @@ def maybe_promote(dtype, fill_value=np.nan):
595
return dtype, fill_value
596
597
598
-def maybe_astype(values, dtype, copy, errors="raise"):
+def maybe_astype(values, dtype, copy, errors):
599
try:
600
result = np.array(values, dtype=dtype, copy=copy)
601
except (ValueError, TypeError):
0 commit comments