GitHub user MarcoGorelli edited a comment on the discussion: A new home for pyarrow-stubs?
Thanks all for the discussion! If I may add a further perspective, as someone building on PyArrow: - I find it extremely useful to know whether a method will return `pa.Array` or `pa.ChunkedArray` or `np.ndarray` or `pd.Series` or `pd.Index`. This has helped avoid bugs - I've never found it useful to narrow those types down further to the data type level, if anything it's usually fairly noisy. As @pitrou said, you often don't know the types anyway and so end up either having them as `Any` or scattering `# type: ignore` / `Incomplete` around I'd find it extremely useful to have simple type annotations from PyArrow, and if the myriad of overloads necessary to narrow down the types are left out due to size and maintenance concerns, I wouldn't personally see that as a loss --- Furthermore, it's generally easier to start simple and increase complexity later than it is to go the other way round 😄 GitHub link: https://github.com/apache/arrow/discussions/45919#discussioncomment-14297417 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
