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

   Yes, we should provide a public way to create a Field object as well (and 
from there you can also get a DataType).
   
   (short term, I would say it is safe to use 
`pa.Field._import_from_c_capsule`, if you check that the method is available)
   
   I suppose adding this to `pa.field(..)` would be the easiest, although 
signature-wise it's also not a great addition, given that right now this 
constructor always takes both a name and type required arguments)


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