posit-dev / great-tables

Make awesome display tables using Python.
https://posit-dev.github.io/great-tables/
MIT License
1.42k stars 48 forks source link

Move `pairwise`, `seq_groups`, and `is_equal` functions to `_utils.py` #369

Closed jrycw closed 3 weeks ago

jrycw commented 1 month ago

This PR moves the pairwise, seq_groups, and is_equal functions to _utils.py since they are not specific to _spanners.py. Additionally, this PR updates GradientPalette._create_coefficients to leverage pairwise.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.20%. Comparing base (a2ecbbe) to head (fd19eda).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #369 +/- ## ======================================= Coverage 86.20% 86.20% ======================================= Files 41 41 Lines 4348 4348 ======================================= Hits 3748 3748 Misses 600 600 ```

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