fugue-project / fugue

A unified interface for distributed computing. Fugue executes SQL, Python, Pandas, and Polars code on Spark, Dask and Ray without any rewrites.
https://fugue-tutorials.readthedocs.io/
Apache License 2.0
1.98k stars 94 forks source link

Idiomatic polars `peek_dict` method #453

Closed alexander-beedie closed 1 year ago

alexander-beedie commented 1 year ago

Extremely minor tweak for more idiomatic Polars peek_dict. (We have a "named" param on the row^1 method for this).

goodwanghan commented 1 year ago

Welcome @alexander-beedie ! Thanks for making the change.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (cb6733e) 100.00% compared to head (db94458) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #453 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 128 128 Lines 12077 12077 ========================================= Hits 12077 12077 ``` | [Impacted Files](https://codecov.io/gh/fugue-project/fugue/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fugue-project) | Coverage Δ | | |---|---|---| | [fugue\_polars/polars\_dataframe.py](https://codecov.io/gh/fugue-project/fugue/pull/453?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fugue-project#diff-ZnVndWVfcG9sYXJzL3BvbGFyc19kYXRhZnJhbWUucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fugue-project). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fugue-project)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.