ENH/API: errors argument for ExtensionArray.astype #36151
Labels
API - Consistency
Internal Consistency of API/Behavior
Dtype Conversions
Unexpected or buggy dtype conversions
Enhancement
ExtensionArray
Extending pandas with custom dtypes or arrays.
Series.astype
andDataFrame.astype
both allow control over whether the original object should be returned on errors in conversion by setting theerrors
argument to either"ignore"
or"raise"
. ShouldExtensionArray.astype
also allow this?https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.astype.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.astype.html
xref #35979
The text was updated successfully, but these errors were encountered: