HHammond / PrettyPandas

A Pandas Styler class for making beautiful tables
http://prettypandas.readthedocs.org/
MIT License
415 stars 23 forks source link

`as_money` should use the user's default currency #21

Closed HHammond closed 8 years ago

HHammond commented 8 years ago

Not sure how to implement this, but it would be nice if currency defaulted to the user's local currency.

HHammond commented 8 years ago

The current plan of attack here will be to implement an as_currency method which uses Babel's currency function. That way everyone can have this feature and this project doesn't become encumbered by feature requests for different currency requirements.

In fact, I'm going to see about replacing most of the numerical formatting with the Babel library.