You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be quite useful and a propos to support Python's well-written Decimal type distinctly from floats natively. Lots of CSV files commonly contain financial data exported from other systems, data which includes precise numbers expressed as decimal numbers. Operations on these numbers (e.g., sum) should be carried out with Decimal aware operations. While applications such as models won't benefit much from this, applications that deal with accounting and finance will.
I'm not sure how involved the change is, would love to hear your thoughts on what would need to be done, whether it's feasible, difficult or easy, or even desirable. TYTY
The text was updated successfully, but these errors were encountered:
It shouldn't be too hard; you would start by making your own type like in type_currency.py. If sum() works with Decimal then I'm not sure what else would be needed. Ultimately I think using Decimal for currency would be much better than the current float-cleaner.
It would be quite useful and a propos to support Python's well-written
Decimal
type distinctly from floats natively. Lots of CSV files commonly contain financial data exported from other systems, data which includes precise numbers expressed as decimal numbers. Operations on these numbers (e.g., sum) should be carried out with Decimal aware operations. While applications such as models won't benefit much from this, applications that deal with accounting and finance will.I'm not sure how involved the change is, would love to hear your thoughts on what would need to be done, whether it's feasible, difficult or easy, or even desirable. TYTY
The text was updated successfully, but these errors were encountered: