You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/06 18:15:16 UTC

[GitHub] [arrow] jorisvandenbossche commented on pull request #9912: ARROW-9451: [Python] Refuse implicit cast of str to unsigned integer

jorisvandenbossche commented on pull request #9912:
URL: https://github.com/apache/arrow/pull/9912#issuecomment-814334946


   It's good to make this consistent for signed vs unsigned integer types. 
   But, if `pa.array(['5']).cast("int64")` works, I would maybe also expect `pa.array(['5'], type="int64")` to work (eg in numpy both work). Now, that would be a much bigger change I suppose, I am certainly fine with making it more strict.
   


-- 
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.

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