tadeja commented on PR #55792: URL: https://github.com/apache/arrow/pull/55792#issuecomment-7222554506
Completely agree on focusing on basic stubs and avoiding all public generics! This PR wouldn't make any public class generic (like `Array`, `ChunkedArray`, `Table`, `RecordBatch`) though and no commitment to public generics either. It's more like an internal shortcut to avoid copying `to_pandas()` and `column()`/`columns`/`itercolumns()`/`__getitem__()` to each subclass and prevent type-checkers' failures like `df: pd.DataFrame = table.to_pandas()` , `table.to_pandas().columns`, `table["a"].num_chunks`, `batch["a"].buffers()`) for the next release - but that'll be only a problem for users if stubs get included in wheels for that release. -- 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]
