unionai-oss / pandera

A light-weight, flexible, and expressive statistical data testing library
https://www.union.ai/pandera
MIT License
3.05k stars 281 forks source link

Add a generic Series type for polars #1595

Closed baldwinj30 closed 3 weeks ago

baldwinj30 commented 4 weeks ago

Closes #1594

Added a Series type alongside the LazyFrame type, and added it as an accepted annotation in the polars model.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 83.12%. Comparing base (4df61da) to head (2eb232d). Report is 71 commits behind head on main.

Files Patch % Lines
pandera/typing/polars.py 0.00% 2 Missing :warning:
pandera/api/polars/model.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1595 +/- ## =========================================== - Coverage 94.29% 83.12% -11.17% =========================================== Files 91 114 +23 Lines 7024 8490 +1466 =========================================== + Hits 6623 7057 +434 - Misses 401 1433 +1032 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cosmicBboy commented 3 weeks ago

thanks @baldwinj30 and congrats on your first contribution to pandera! 🚀