Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use polars instead of pandas in examples #3289

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

akshayka
Copy link
Contributor

  • Migrate the SQL examples to use Polars.
  • Can merge when polars in pyodide is supported

* Migrate the SQL examples to use Polars.
Copy link

vercel bot commented Dec 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 24, 2024 5:41pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 24, 2024 5:41pm

Comment on lines +6 to +7
# "polars==1.18.0",
# "pyarrow==18.1.0",
Copy link
Contributor

@Light2Dark Light2Dark Dec 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @akshayka , may want to consider "polars[pyarrow]>=1.18.0"
https://duckdb.org/docs/guides/python/polars.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Will keep this in mind for the future. I think serializing both accomplishes the same thing?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it does. Maybe just a small thing for future maintenance since we don't need to update the pyarrow version. But yeah it's fine.

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