posit-dev / great-tables

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

Add the `sub_small_vals()`, `sub_large_vals()`, and `sub_values()` methods #255

Open rich-iannone opened 3 months ago

rich-iannone commented 3 months ago

To round out the collection of sub_*() methods, we still need the following:

They are all important because some values provided from data as is would be misleading or plainly wrong. For example, some value that is captured as near zero from an instrument might be rounded down as zero from a formatting method. However, it is incorrect to report zero as there is likely some value but it's below the measurement threshold (e.g., environmental sampling of toxins).

As far motivating examples, we definitely need to have them for all of these methods (especially for sub_values()).