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

Add .cols_align_decimal() for alignment of numbers to a decimal mark #259

Open
rich-iannone opened this issue Apr 1, 2024 · 0 comments
Open

Comments

@rich-iannone
Copy link
Member

Aligning values by the decimal mark is desirable in lots of cases, especially where there are mixed numbers of decimal values shown in a column of numeric values. Not having this available means that numbers can be harder to scan through (even though they are, by default, right aligned in a column).

It can be challenging to do this right, but is possible. The particular challenges are:

  • properly identifying the decimal mark
  • decimal alignment with heterogeneously-formatted numbers (integers, decimal mark + no trailing digits, sci notn, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant