You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For several APIs, the errors argument can be used to control what happens when an operation is not successful. For example,pandas.to_datetime allows errors for handling a failed conversion: pandas.to_datetime — pandas 1.4.2 documentation . While both raise and coerce are JIT compatible, the ignore option is not because it can lead to inconsistent types.
Here as you can see, the output dtype is dependent entirely the runtime values of arr, meaning for arguments with particular input types you cannot predict the output type. We would like to see this option removed from all Pandas APIs because it fundamentally makes it impossible to JIT compile this code.
The text was updated successfully, but these errors were encountered:
ehsantn
changed the title
Deprecate the errors='ignore' argument to ensure code can be JITable
Remove the errors='ignore' argument to ensure code can be JITable
Jun 30, 2022
ehsantn
changed the title
Remove the errors='ignore' argument to ensure code can be JITable
Remove the errors='ignore' argument to ensure code can be jittable
Jun 30, 2022
For several APIs, the errors argument can be used to control what happens when an operation is not successful. For example,
pandas.to_datetime
allows errors for handling a failed conversion: pandas.to_datetime — pandas 1.4.2 documentation . While both raise and coerce are JIT compatible, the ignore option is not because it can lead to inconsistent types.Here as you can see, the output dtype is dependent entirely the runtime values of
arr
, meaning for arguments with particular input types you cannot predict the output type. We would like to see this option removed from all Pandas APIs because it fundamentally makes it impossible to JIT compile this code.The text was updated successfully, but these errors were encountered: