astanin / python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.
https://pypi.org/project/tabulate/
MIT License
2.09k stars 162 forks source link

Changing decimal point (locale?) #291

Open thomasa88 opened 11 months ago

thomasa88 commented 11 months ago

I'm outputting data in Swedish numeric format, where the decimal point is "," (and the thousands separator is " ").

I would like to be handle to have the smart decimal point alignment, but for "," instead of ".".

My numbers are input at strings as I'm internally using my own fixed point: "100,25" (But I can change to "100.25" for input.)