WillAyd commented on issue #39689: URL: https://github.com/apache/arrow/issues/39689#issuecomment-1899332626
> But not all libraries have a clear concept of a "schema", or at least not as an accessible/dedicated Python object. > > For example, for two cases for which I have an open PR to add the protocol: a pandas.DataFrame does have a `.dtypes` attribute, but that's not a custom object that can expose the schema protocol Maybe pandas should create a new class for its dtypes though that does expose this? Do you know what other libraries have this same limitation? I would like to add on the con about accepting an stream/array where a schema is expected that if in the future we add dunders like `__from_arrow_array_schema__` to third party libraries in the future it would be much more straightforward for those libraries to only have to deal with schema objects -- 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]
