Skip to content

Conversation

@ion-elgreco
Copy link
Contributor

@timsaucer we could probably drop the rust code for from_pandas and from_polars and keep those in Python as aliases but just call from_arrow or even drop them. The only thing is we will have to add minimum dependencies since they recently added arrow_c_stream support. For polars that would be v1.3. For pandas I would have to check.

Rationale for this change

  • better type hint than Any

What changes are included in this PR?

  • adds type hints for types that have arrow_c_stream

Are there any user-facing changes?

None

@timsaucer
Copy link
Member

LGTM. In regards to dropping the from_pandas and from_polars, I don't think we want to impose people upgrade to the very latest quite yet. I'd recommend revisiting that in ~6months just for stability of the ecosystem.

@timsaucer timsaucer merged commit 494b89a into apache:main Oct 15, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants