You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/04/11 14:31:51 UTC

[GitHub] [arrow] jorisvandenbossche commented on issue #34976: [Python] Allow `pyarrow.compute.cast` to coerce errors to null values

jorisvandenbossche commented on issue #34976:
URL: https://github.com/apache/arrow/issues/34976#issuecomment-1503481165

   @randolf-scholz thanks for raising the issue! That would indeed be useful addition. I am going to close this as a duplicate of https://github.com/apache/arrow/issues/20486, since that already exists for adding such an option to the cast kernel.
   
   > function that returns boolean mask whether string can be cast to float
   
   I understand that this would give a workaround, but I would say that ideally we have that option, and then this one might be a bit specific? 
   As you show, we already have the `utf8_is_numeric` kernel, but the problem is that this is too simplistic and fails if there is a "+" or "-" in the string, or a thousands separate, ..?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org