Repository navigation
feat: Polars Support - #18412
feat: Polars Support#18412TheSkyentist wants to merge 11 commits into
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
There was a problem hiding this comment.
Welcome to Astropy 👋 and congratulations on your first pull request! 🎉
A project member will respond to you as soon as possible; in the meantime, please have a look over the Checklist for Contributed Code and make sure you've addressed as many of the questions there as possible.
If you feel that this pull request has not been responded to in a timely manner, please send a message directly to the development mailing list. If the issue is urgent or sensitive in nature (e.g., a security vulnerability) please send an e-mail directly to the private e-mail [email protected].
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
Thanks! Please see the following to assist with current failures:
p.s. So many animals are involved. We can open a zoo soon. 🐼 🐻❄️ 🐬 |
|
Documentation added, passing all checks, and ready for review! :-) |
|
Converting back to draft, considering scrapping this and just replacing with a universal narwhals layer. |
|
Superseded by #18435. |
Description:
Adds polars support to Astropy.Table
Motivation:
The discussion in #17146 makes compelling arguments for why the Astropy Table/QTable module exists! However, it is still nice to have features that allow seamless interfacing with other libraries, such as Pandas and Polars. I've added complementary methods to the existing
to_pandasandfrom_pandas, namelyto_polarsandfrom_polarsalong with the a test suite that covers these new functionalities. I'm currently working on the documentation, but wanted to gauge the reception for these utilities.There was also discussion surrounding narwhals in #17146. I'm currently working on exploring if we can directly add Astropy Table as a supported DF-like library in narwhals.