HyukjinKwon opened a new issue, #48450:
URL: https://github.com/apache/arrow/issues/48450

   ### Describe the enhancement requested
   
   This is the ticket mentioned in https://github.com/apache/arrow/pull/7659 
which implements unsigned dictionary indices in pandas conversion.
   
   The reason why it was not implement was:
   
   pandas Categorical uses -1 to represent null values, which cannot be 
properly represented in unsigned integer types. Simply adding the unsigned 
cases would have caused:
   
   - uint8: -1 wraps to 255
   - uint16: -1 wraps to 65535
   
   
   ### Component(s)
   
   Python


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to