tadeja opened a new pull request, #55792: URL: https://github.com/apache/arrow/pull/55792
### Rationale for this change Methods inherited from private `_PandasConvertible` and `_Tabular` returned unions on every subclass. ### What changes are included in this PR? - `_PandasConvertible` is generic over its `to_pandas()` result - `_Tabular` is generic over its column type ### Are these changes tested? Yes, locally and new tests added as well. ### Are there any user-facing changes? Yes, narrower return types for these methods required by type checkers. ### Was AI used for this PR? **PR code and description written by:** - [X] Human - [X] AI **Reviewed before submission by:** - [X] Human - [X] AI - [ ] Not reviewed * GitHub Issue: (filled in automatically from the PR title) -- 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]
